Esempio n. 1
0
 public void OnColumnChanged(ContractBillColumn column, object value)
 {
     if (!base.SuppressEntityEvents)
     {
         ContractBillEventHandler columnChanged = this.ColumnChanged;
         if (columnChanged != null)
         {
             columnChanged(this, new ContractBillEventArgs(column, value));
         }
         this.OnEntityChanged();
     }
 }
Esempio n. 2
0
 public void OnColumnChanging(ContractBillColumn column, object value)
 {
     if (base.IsEntityTracked && (this.EntityState != EntityState.Added))
     {
         EntityManager.StopTracking(this.EntityTrackingKey);
     }
     if (!base.SuppressEntityEvents)
     {
         ContractBillEventHandler columnChanging = this.ColumnChanging;
         if (columnChanging != null)
         {
             columnChanging(this, new ContractBillEventArgs(column, value));
         }
     }
 }