Пример #1
0
 public void OnColumnChanged(DictionaryItemColumn column, object value)
 {
     if (!base.SuppressEntityEvents)
     {
         DictionaryItemEventHandler columnChanged = this.ColumnChanged;
         if (columnChanged != null)
         {
             columnChanged(this, new DictionaryItemEventArgs(column, value));
         }
         this.OnEntityChanged();
     }
 }
Пример #2
0
 public void OnColumnChanging(DictionaryItemColumn column, object value)
 {
     if (base.IsEntityTracked && (this.EntityState != EntityState.Added))
     {
         EntityManager.StopTracking(this.EntityTrackingKey);
     }
     if (!base.SuppressEntityEvents)
     {
         DictionaryItemEventHandler columnChanging = this.ColumnChanging;
         if (columnChanging != null)
         {
             columnChanging(this, new DictionaryItemEventArgs(column, value));
         }
     }
 }
Пример #3
0
 public DictionaryItemEventArgs(DictionaryItemColumn column)
 {
     this.column = column;
 }
Пример #4
0
 public DictionaryItemEventArgs(DictionaryItemColumn column, object value)
 {
     this.column = column;
     this.value  = value;
 }
Пример #5
0
 public void OnColumnChanging(DictionaryItemColumn column)
 {
     this.OnColumnChanging(column, null);
 }
Пример #6
0
 public DictionaryItemComparer(DictionaryItemColumn column)
 {
     this.whichComparison = column;
 }