public static ValueTask <IManagedSqlTransaction> BeginSerializable
     (this IDbProvider dbProvider,
     SqlAccess access,
     CancellationToken cancellationToken = default) =>
 dbProvider.Begin(access, IsolationLevel.Serializable, cancellationToken);
 public static ValueTask <IManagedSqlTransaction> BeginReadUncommitted
     (this IDbProvider dbProvider,
     SqlAccess access,
     CancellationToken cancellationToken = default) =>
 dbProvider.Begin(access, IsolationLevel.ReadUncommitted, cancellationToken);
Beispiel #3
0
 public static ValueTask <IManagedSqlTransaction> BeginRepeatableRead
     (this IDbProvider dbProvider,
     SqlAccess?access = null,
     CancellationToken cancellationToken = default) =>
 dbProvider.Begin(IsolationLevel.RepeatableRead, cancellationToken, access);