Posts by allan.egidio • 191 points
5 posts
-
3
votes1
answer35
viewsQ: Batch persisting in Many-to-Many Entity with extra fields
I have the following question: If I have an N to N relationship: Products and Coins. At the time it would persist would be 1 Product with a list of 10 Coins. public class Produto { public int…
-
6
votes1
answer83
viewsQ: Doubt about Many-to-Many EF Relationship
I am doubtful in a following rule: I have N Products and N Coins. From this relationship I will have the table Productomoeda: ProdutoMoeda Id - ProdutoId - MoedaID - Nome 1 2 1 ProdutoNome +…
-
5
votes1
answer41
viewsQ: EF6 - Rushed load bringing less aggregated data than database data
I’m having the following problem with my relationships in Entity. When I seek for example a Bank Account by Id : return _databaseContext.Clientes .Include(x => x.Enderecos) .Include(x =>…
-
2
votes1
answer40
viewsQ: EF relationship from Foxpro migration, with composite key
I’m migrating a legacy Visualfox system on . Net where the tables were made all without relationship, in ADO, without Foreign key in relationships. Just comparing a string of the name "Type" to…
-
2
votes1
answer345
viewsQ: Problems when mapping Entity Framework database
I’m having trouble creating a solution to this business rule. I currently have 1 Customer, 1 Correspondent and 1 Store. Both use the same address table. Like the tables cliente, correspondente and…