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