Esempio n. 1
0
 private void check(IValuePair actual, EntityState state, object oldValue, object newValue, string propertyName)
 {
     Assert.AreEqual(state, actual.State);
     Assert.AreEqual(oldValue, actual.OriginalValue());
     Assert.AreEqual(newValue, actual.NewValue());
     Assert.AreEqual(propertyName, actual.PropertyName);
 }
 internal DataRecordValuePair(IValuePair pair)
     : base(pair.OriginalValue, pair.NewValue, pair.PropertyName, pair.State)
 {
 }
 internal DataRecordValuePair(IValuePair pair)
     : base(pair.OriginalValue, pair.NewValue, pair.PropertyName, pair.State)
 {
 }
 internal DataRecordValuePair(IValuePair pair, ISerializationManager serializer)
     : base(pair.OriginalValue, pair.NewValue, pair.PropertyName, pair.State, serializer)
 {
 }