>> this.PropertyChanged += (sender, e) =>
>>
> this.PropertyChanged += new EventHandler(MyPropertyChangedHandler); > > private void MyPropertyChangedHandler(object sender, EventArgs e) > { > if (this.RowState == RowStateEnum.Unchanged && this.AllowRowStateChange) > this.RowState = RowStateEnum.Update; > } >>
>>namespace ConfigManager.ChangeSetEngine >>{ >> [Serializable] >>public partial class TblFacility : SQLEntityBaseClass, INotifyPropertyChanged >>{ >> partial void OnCreated() >> { >> this.PropertyChanged += (sender, e) => >> { >> if (this.RowState == RowStateEnum.Unchanged && this.AllowRowStateChange) >> this.RowState = RowStateEnum.Update; >> }; >> } >>} >>}>>
>> this.PropertyChanged += (sender, e) =>
>>