private SimpleTransaction(SimpleTransaction copy) : base(copy)
 {
     _adapter            = copy._adapter;
     _database           = copy._database;
     _adapterTransaction = copy._adapterTransaction;
     _transactionRunner  = copy._transactionRunner;
 }
        internal static SimpleTransaction Begin(DataStrategy database, string name)
        {
            SimpleTransaction transaction = CreateTransaction(database);

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

            transaction.Begin();
            return(transaction);
        }
Exemple #5
0
 public SimpleTransaction BeginTransaction(IsolationLevel isolationLevel)
 {
     return(SimpleTransaction.Begin(this, isolationLevel));
 }
Exemple #6
0
 public SimpleTransaction BeginTransaction(string name)
 {
     return(SimpleTransaction.Begin(this, name));
 }
Exemple #7
0
 public SimpleTransaction BeginTransaction()
 {
     return(SimpleTransaction.Begin(this));
 }