Reputation: 792
i want to log the changed fields in RIA, using LinqToEntitiesDomainService,
how to get list of changed fields from ChangeSetEntry in ChangeSet?
Upvotes: 4
Views: 990
Reputation: 4540
You can get exactly what you want with ObjectStateEntry.GetModifiedProperties Method. (for example in SavingChanges handler of your domain ObjectContext)
Upvotes: 1