Пример #1
0
 private SimpleTransaction(SimpleTransaction copy) : base(copy)
 {
     _adapter            = copy._adapter;
     _database           = copy._database;
     _adapterTransaction = copy._adapterTransaction;
     _transactionRunner  = copy._transactionRunner;
 }
Пример #2
0
        internal static SimpleTransaction Begin(DataStrategy database, string name)
        {
            SimpleTransaction transaction = CreateTransaction(database);

            transaction.Begin(name);
            return(transaction);
        }
Пример #3
0
 private SimpleTransaction(SimpleTransaction copy) : base(copy)
 {
     _adapter = copy._adapter;
     _database = copy._database;
     _adapterTransaction = copy._adapterTransaction;
     _transactionRunner = copy._transactionRunner;
 }
Пример #4
0
        internal static SimpleTransaction Begin(Database database)
        {
            SimpleTransaction transaction = CreateTransaction(database);

            transaction.Begin();
            return(transaction);
        }
Пример #5
0
 public SimpleTransaction BeginTransaction(IsolationLevel isolationLevel)
 {
     return(SimpleTransaction.Begin(this, isolationLevel));
 }
Пример #6
0
 public SimpleTransaction BeginTransaction(string name)
 {
     return(SimpleTransaction.Begin(this, name));
 }
Пример #7
0
 public SimpleTransaction BeginTransaction()
 {
     return(SimpleTransaction.Begin(this));
 }