I read this question but unfortunately not found any solution to update ui after reverting changes.
How can I reject all changes in a Linq to SQL's DataContext?
All of my properties are derived from INotifyPropertyChanged.
var changeSet = dataContext.GetChangeSet();
if (changeSet != null)
{
var updates = changeSet.Updates.ToArray();
dataContext.Refresh(RefreshMode.OverwriteCurrentValues, changeSet.Updates);
foreach (var o in updates)
{
INotifyPropertyChanged entity = (INotifyPropertyChanged)o;
// What i have to do to force them trigger PropertyChanged event ???
}
}