예제 #1
0
 public void OnColumnChanged(ContractAccountColumn column, object value)
 {
     if (!base.SuppressEntityEvents)
     {
         ContractAccountEventHandler columnChanged = this.ColumnChanged;
         if (columnChanged != null)
         {
             columnChanged(this, new ContractAccountEventArgs(column, value));
         }
         this.OnEntityChanged();
     }
 }
예제 #2
0
 public void OnColumnChanging(ContractAccountColumn column, object value)
 {
     if (base.IsEntityTracked && (this.EntityState != EntityState.Added))
     {
         EntityManager.StopTracking(this.EntityTrackingKey);
     }
     if (!base.SuppressEntityEvents)
     {
         ContractAccountEventHandler columnChanging = this.ColumnChanging;
         if (columnChanging != null)
         {
             columnChanging(this, new ContractAccountEventArgs(column, value));
         }
     }
 }
예제 #3
0
 public ContractAccountEventArgs(ContractAccountColumn column, object value)
 {
     this.column = column;
     this.value = value;
 }
예제 #4
0
 public ContractAccountEventArgs(ContractAccountColumn column)
 {
     this.column = column;
 }
예제 #5
0
 public void OnColumnChanging(ContractAccountColumn column)
 {
     this.OnColumnChanging(column, null);
 }
예제 #6
0
 public ContractAccountComparer(ContractAccountColumn column)
 {
     this.whichComparison = column;
 }