The instance of entity type cannot be tracked because another instance of this type with the same key is already being tracked

前端 未结 10 1171
一向
一向 2020-11-29 20:11

I have a Service Object Update

public bool Update(object original, object modified)
{
    var originalClient = (Client)original;
    var modifi         


        
10条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-29 20:55

    If your data has changed every once,you will notice dont tracing the table.for example some table update id ([key]) using tigger.If you tracing ,you will get same id and get the issue.

提交回复
热议问题