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

tgTransactionScope() public method

The default constructor, this transactions tgTransactionScopeOption will be set to Required. The IsolationLevel is set to Unspecified. using (tgTransactionScope scope = new tgTransactionScope()) { // Do your work here scope.Complete(); }
public tgTransactionScope ( ) : System
return System
        public tgTransactionScope()
        {
            this.option = tgTransactionScopeOption.Required;
            this.level  = tgTransactionScope.IsolationLevel;

            CommonInit(this);

            this.root.count++;
        }

Same methods

tgTransactionScope::tgTransactionScope ( tgTransactionScopeOption option ) : System
tgTransactionScope::tgTransactionScope ( tgTransactionScopeOption option, IsolationLevel level ) : System