public static void AutoStartTransactionIfApplicable(this ICoreSession session) { if (!session.IsInTransaction && session.Options != null && session.Options.AutoStartTransaction) { session.StartTransaction(); } }
/// <inheritdoc /> public virtual void StartTransaction(TransactionOptions transactionOptions = null) { ThrowIfDisposed(); _wrapped.StartTransaction(transactionOptions); }