using (tgTransactionScope scope = new tgTransactionScope()) { // Do your work here scope.Complete(); }
public tgTransactionScope() { this.option = tgTransactionScopeOption.Required; this.level = tgTransactionScope.IsolationLevel; CommonInit(this); this.root.count++; }