Asp.net – Entity's primary key not being updated after changes are saved
I have a DDD setup in C#, linking entities to DB tables. An entity has a configured Id (primary key) that encapsulates a non-negative, non-zero integer (a value object). I have the primary key configured in EF Core fluent API,…