我想要跟踪ObjectSet中当前记录更改时的更改。也许是像BindingSource.CurrentChanged这样的。有人能帮我解决这个问题吗?
发布于 2011-05-31 16:38:06
如果您需要获取任何实体的状态,只需调用:
context.ObjectStateManager.GetObjectStateEntry(editedEntity).State
https://stackoverflow.com/questions/6183989
相似问题