예제 #1
0
        public static TxScope GetScope(TxScope outerScope, TxEnlist txEnlist, string name)
        {
            var newScope = new TxScope(txEnlist)
            {
                OuterScope = outerScope, Name = name
            };

            return(newScope);
        }
예제 #2
0
 public static TxScope GetScope(TxScope outerScope, TxEnlist txEnlist)
 {
     return(GetScope(outerScope, txEnlist, null));
 }
예제 #3
0
 private TxScope(BPAConnection connection, TxEnlist enlist)
 {
     Connection        = connection;
     EnlistTransaction = enlist;
 }
예제 #4
0
 public static TxScope GetScope(TxEnlist txEnlist)
 {
     return(GetScope(null, txEnlist));
 }
예제 #5
0
 private TxScope(TxEnlist enlist) : this(null, enlist)
 {
 }