Class LockScope<T>
Scope returned by ILockableRepositoryCollection<TEntity, TKey>.LockAsync(...).
Unlike EntityScope<T, TKey>, the commit decision (Update vs
Delete) is taken at commit time, not at lock time.
public record LockScope<T> : LockScope<T, ObjectId>, IAsyncDisposable, IDisposable, IEquatable<LockScope<T, ObjectId>>, IEquatable<LockScope<T>> where T : LockableEntityBase<ObjectId>
Type Parameters
T
- Inheritance
-
LockScope<T, ObjectId>LockScope<T>
- Implements
-
IEquatable<LockScope<T>>
- Inherited Members