Example #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);
Example #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);
Example #3
0
 public static bool HasIdAndConcurrencyStamp <TKey>(this IConcurrency <TKey> concurrency, IConcurrency <TKey> other)
     where TKey : IEquatable <TKey> => concurrency.HasIdAndConcurrencyStamp(other.Id, other.ConcurrencyStamp);