Posts by Carlos Henrique • 117 points
6 posts
-
0
votes1
answer37
viewsQ: Automapper - Map a collection of strings to a collection property within a collection
Which doubt ? How to map Idcontributors (collection of strings) to a collection (Contributors), within the Taction collection, with a string property (Contributorid), using LINQ and autoMapper.…
-
1
votes0
answers32
viewsQ: Insert record Many-to-Many - EF Core
Problem: Error overflow when trying to create record in table with relationships. Error when I pass the virtual members with their type instance: The bank returns saying it cannot find the key…
-
2
votes1
answer67
viewsQ: Theninclude of a List
I have an entity called Team (image 1) which in turn has a Icollection of Userteam (image 2) which in turn has a Icollection Applicationuser called Member. Goal: return a list of Teams with their…
-
0
votes0
answers203
viewsQ: Asynchronous handler completed while asynchronous operation was pending - C#
Hello, I have some questions regarding the code below. The return code the following error [Invalidoperationexception]: Asynchronous module or manipulator completed while asynchronous operation was…
-
3
votes1
answer131
viewsQ: .gitignore for multi projects - Visual Studio
Setting I have a versioned project on github, put together a file .gitignore to make the project lighter and not to unnecessarily restore files, but I’m not succeeding. Note that my file .gitignore…
-
5
votes4
answers96
viewsQ: What is the best solution ? Getbyid with a non-existent id in the BD
I’m making a call in my Pository but CPF does not always exist in the BD. When it does not exist in the database I get the following error. Repository public VendedorModel GetById(int CPF) { using…