Kuldip Saini
Kuldip Saini

Reputation: 792

list of changed fields from ChangeSetEntry in ChangeSet?

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

Answers (1)

Konstantin Salavatov
Konstantin Salavatov

Reputation: 4540

You can get exactly what you want with ObjectStateEntry.GetModifiedProperties Method. (for example in SavingChanges handler of your domain ObjectContext)

Upvotes: 1

Related Questions