Exemplo n.º 1
0
        /// <summary>
        /// Close log transaction, it can be closed many times
        /// </summary>
        public void EndLog()
        {
            if (this.logTransaction == null)
                return;

            this.logTransaction.EndTransaction();
            this.logTransaction = null;
        }
Exemplo n.º 2
0
 public void BeginLog(TransactionLogeeType typeName)
 {
     this.logTransaction = LogTransaction.BeginTransaction(typeName, type);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Begin Log Transaction, all DPOs in Form are logged as a Transaction
 /// </summary>
 public void BeginLog()
 {
     this.logTransaction = LogTransaction.BeginTransaction(type);
 }
Exemplo n.º 4
0
 public void BeginLog(TransactionLogeeType typeName)
 {
     this.logTransaction = LogTransaction.BeginTransaction(typeName, type);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Begin Log Transaction, all DPOs in Form are logged as a Transaction
 /// </summary>
 public void BeginLog()
 {
     this.logTransaction = LogTransaction.BeginTransaction(type);
 }
Exemplo n.º 6
0
 /// <summary>
 /// save current record and log
 /// </summary>
 /// <param name="logTransaction"></param>
 public virtual void SaveAndLog(LogTransaction logTransaction)
 {
     logTransaction.Add(this);
     this.Save();
     //logTransaction.Remove(this);
 }
Exemplo n.º 7
0
 //public abstract int TableId { get; }
 //public abstract string CreateTableString { get; }
 /// <summary>
 /// make this dpo record loggable
 /// </summary>
 /// <param name="transaction"></param>
 public void AddLog(LogTransaction transaction)
 {
     AddLog(transaction.transaction);
 }