An error occurred while updating the entries entity framework
This is very clever, but to do this EF’s view of the database relationships must match the reality of what is in the d.
To understand why this is problem then I need to describe how EF knows about the database schema.
Run Execute Reader(Command Behavior cmd Behavior, Run Behavior run Behavior, Boolean return Stream, String method) 104 System. Save Changes To Store(Save Options options, IDb Execution Strategy execution Strategy) at System. Save Changes() Entity classes: public class Client public class Quote Libraries: EF6 My Sql. In this post, I will explain a bit of how the Entity Framework manages entity state and what caused the problem.Obviously, I didn’t dive deeply into their logic, but I was able to make a basic model of their system.
Add(client) line, it will work ok but I want to use the unit of work pattern on group database calls where possible.