示例#1
0
 public void OnColumnChanged(PayoutItemColumn column, object value)
 {
     if (!base.SuppressEntityEvents)
     {
         PayoutItemEventHandler columnChanged = this.ColumnChanged;
         if (columnChanged != null)
         {
             columnChanged(this, new PayoutItemEventArgs(column, value));
         }
         this.OnEntityChanged();
     }
 }
示例#2
0
 public void OnColumnChanging(PayoutItemColumn column, object value)
 {
     if (base.IsEntityTracked && (this.EntityState != EntityState.Added))
     {
         EntityManager.StopTracking(this.EntityTrackingKey);
     }
     if (!base.SuppressEntityEvents)
     {
         PayoutItemEventHandler columnChanging = this.ColumnChanging;
         if (columnChanging != null)
         {
             columnChanging(this, new PayoutItemEventArgs(column, value));
         }
     }
 }
示例#3
0
 public void OnColumnChanging(PayoutItemColumn column)
 {
     this.OnColumnChanging(column, null);
 }
示例#4
0
 public PayoutItemComparer(PayoutItemColumn column)
 {
     this.whichComparison = column;
 }
示例#5
0
 public PayoutItemEventArgs(PayoutItemColumn column)
 {
     this.column = column;
 }
示例#6
0
 public PayoutItemEventArgs(PayoutItemColumn column, object value)
 {
     this.column = column;
     this.value  = value;
 }