When update/modify entity property, I can put business logic in property changed event like:
partial void OnMyPropertyChanged()
{
//....
}
In this event handler, I want to know the new value and original value for MyProperty. New value can be get by this.MyProperty. How to get the original value?
For example, if udpate MyProperty from 1 to 2, original value is 1, new value is 2. this.MyProperty = 2. but how to get the original value 1?