public static TxScope GetScope(TxScope outerScope, TxEnlist txEnlist, string name) { var newScope = new TxScope(txEnlist) { OuterScope = outerScope, Name = name }; return(newScope); }
public static TxScope GetScope(TxScope outerScope, TxEnlist txEnlist) { return(GetScope(outerScope, txEnlist, null)); }
private TxScope(BPAConnection connection, TxEnlist enlist) { Connection = connection; EnlistTransaction = enlist; }
public static TxScope GetScope(TxEnlist txEnlist) { return(GetScope(null, txEnlist)); }
private TxScope(TxEnlist enlist) : this(null, enlist) { }