When is DbContext.Entry(enttity).State = EntityState.Modified; required?

前端 未结 0 2073
小鲜肉
小鲜肉 2021-02-10 09:51

I want to clarify when I need to set the EntityState with Entity Framework Core.
Context: Code-First C# Blazor Server App, SQL Server Database

Consider:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题