Beispiel #1
0
 public void CompleteTransaction()
 {
     if (TransactionClosing != null)
     {
         TransactionClosing(this, new DesignerTransactionCloseEventArgs(true));
     }
     if (TransactionClosed != null)
     {
         TransactionClosed(this, new DesignerTransactionCloseEventArgs(true));
     }
     _currentTrans = null;
 }
Beispiel #2
0
 public DesignerTransaction CreateTransaction(String name)
 {
     if (TransactionOpened != null)
     {
         TransactionOpened(this, new EventArgs());
     }
     if (TransactionOpening != null)
     {
         TransactionOpening(this, new EventArgs());
     }
     if (name != null)
     {
         _currentTrans = new BrowserDesignerTransaction(this, name);
     }
     else
     {
         _currentTrans = new BrowserDesignerTransaction(this);
     }
     return(_currentTrans);
 }
		public void CompleteTransaction()
		{
			if (TransactionClosing != null) {
				TransactionClosing(this, new DesignerTransactionCloseEventArgs(true));
			}
			if (TransactionClosed != null) {
				TransactionClosed(this, new DesignerTransactionCloseEventArgs(true));
			}
			_currentTrans = null;
		}
		public DesignerTransaction CreateTransaction(String name)
		{
			if (TransactionOpened != null)
				TransactionOpened(this, new EventArgs());
			if (TransactionOpening != null)
				TransactionOpening(this, new EventArgs());
			if (name != null)
				_currentTrans = new BrowserDesignerTransaction(this, name);
			else
				_currentTrans = new BrowserDesignerTransaction(this);
			return _currentTrans;
		}