コード例 #1
0
 public static void AutoStartTransactionIfApplicable(this ICoreSession session)
 {
     if (!session.IsInTransaction && session.Options != null && session.Options.AutoStartTransaction)
     {
         session.StartTransaction();
     }
 }
コード例 #2
0
 /// <inheritdoc />
 public virtual void StartTransaction(TransactionOptions transactionOptions = null)
 {
     ThrowIfDisposed();
     _wrapped.StartTransaction(transactionOptions);
 }