Tiraggo.Interfaces.tgTransactionScope.tgTransactionScope C# (CSharp) Method

tgTransactionScope() public method

Use this constructor to control the tgTransactionScopeOption as it applies to this transaction. using (tgTransactionScope scope = new tgTransactionScope(tgTransactionScopeOption.RequiresNew, IsolationLevel.ReadCommitted)) { // Do your work here scope.Complete(); }
public tgTransactionScope ( tgTransactionScopeOption option, IsolationLevel level ) : System
option tgTransactionScopeOption See
level IsolationLevel See IsolationLevel in the System.Data namespace
return System
        public tgTransactionScope(tgTransactionScopeOption option, IsolationLevel level)
        {
            this.option = option;
            this.level  = level;

            CommonInit(this);

            this.root.count++;
        }

Same methods

tgTransactionScope::tgTransactionScope ( ) : System
tgTransactionScope::tgTransactionScope ( tgTransactionScopeOption option ) : System