How does EF Core Modified Entity State behave?

前端 未结 0 1380
囚心锁ツ
囚心锁ツ 2021-02-15 20:24

Does it matter we put the entity state = modified after changes or before making changes?

using (var db = new LakshyaContext())
{
    foreach (var category in db         


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