예제 #1
0
 public static bool RequiresOriginalValue([NotNull] this IReadOnlyProperty property)
 => property.DeclaringEntityType.GetChangeTrackingStrategy() != ChangeTrackingStrategy.ChangingAndChangedNotifications ||
 property.IsConcurrencyToken ||
 property.IsKey() ||
 property.IsForeignKey() ||
 property.IsUniqueIndex();