QuoteReplyTopic: Persistence Manager - HasChanges Posted: 12-Jul-2007 at 4:48pm
(1)You can get the specific entities by asking for all entities that have a DataRowState of Added, Deleted, or Modified. For example, you can get all Employees with changes with this one line of code.
(2)You can tell which columns have changed by comparing the CurrentVersion of the object with the OriginalVersion. Here is how you can get the Current and Original FirstName of an Employee:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum