Verifying if an entity object is modified
Posted: Thu 30 Jun 2011 11:57
Hi,
We have entity objects where 2 fields UpdateUserId and UpdateDate needs to be set if an object is modified. When I check the object's EntityState, it shows it as Modified even when it is not. Is there a better way to check if something has changed in the object?
Thanks,
Uday
We have entity objects where 2 fields UpdateUserId and UpdateDate needs to be set if an object is modified. When I check the object's EntityState, it shows it as Modified even when it is not. Is there a better way to check if something has changed in the object?
Thanks,
Uday