Posts by Lucas Guille • 1 point
1 post
-
0
votes0
answers42
viewsQ: Entity Framework: How to perform the Insert of a table with relation 1.. n without the children also being inserted?
I am using Dotnet Core 3.1 with EF Core. I have three classes in my context: public class Sale { public Sale() { this.Cars = new List<Car>(); this.CarSeller = new Seller(); } [Key] public int…