Beispiel #1
0
 public static Expression <Func <IConcurrency <TKey>, bool> > HasIdAndConcurrencyStampExpression <TKey>(this IConcurrency <TKey> concurrency, TKey id, string concurrencyStamp)
     where TKey : IEquatable <TKey> => _ => concurrency.HasIdAndConcurrencyStamp(id, concurrencyStamp);
Beispiel #2
0
 public static Expression <Func <IConcurrency <TKey>, bool> > HasIdAndConcurrencyStampExpression <TKey>(this IConcurrency <TKey> concurrency, IConcurrency <TKey> other)
     where TKey : IEquatable <TKey> => _ => concurrency.HasIdAndConcurrencyStamp(other);
Beispiel #3
0
 public static bool HasIdAndConcurrencyStamp <TKey>(this IConcurrency <TKey> concurrency, IConcurrency <TKey> other)
     where TKey : IEquatable <TKey> => concurrency.HasIdAndConcurrencyStamp(other.Id, other.ConcurrencyStamp);