Example #1
0
        /// <summary>
        /// Create a new transaction object.
        /// </summary>
        /// <param name="idTransaction">Initial value of the idTransaction property.</param>
        /// <param name="tStamp">Initial value of the tStamp property.</param>
        /// <param name="account">Initial value of the account property.</param>
        /// <param name="debit">Initial value of the debit property.</param>
        /// <param name="credit">Initial value of the credit property.</param>
        public static transaction Createtransaction(global::System.Int32 idTransaction, global::System.String tStamp, global::System.String account, global::System.Double debit, global::System.Double credit)
        {
            transaction transaction = new transaction();

            transaction.idTransaction = idTransaction;
            transaction.tStamp        = tStamp;
            transaction.account       = account;
            transaction.debit         = debit;
            transaction.credit        = credit;
            return(transaction);
        }
 /// <summary>
 /// Create a new transaction object.
 /// </summary>
 /// <param name="idTransaction">Initial value of the idTransaction property.</param>
 /// <param name="tStamp">Initial value of the tStamp property.</param>
 /// <param name="account">Initial value of the account property.</param>
 /// <param name="debit">Initial value of the debit property.</param>
 /// <param name="credit">Initial value of the credit property.</param>
 public static transaction Createtransaction(global::System.Int32 idTransaction, global::System.String tStamp, global::System.String account, global::System.Double debit, global::System.Double credit)
 {
     transaction transaction = new transaction();
     transaction.idTransaction = idTransaction;
     transaction.tStamp = tStamp;
     transaction.account = account;
     transaction.debit = debit;
     transaction.credit = credit;
     return transaction;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the transactions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotransactions(transaction transaction)
 {
     base.AddObject("transactions", transaction);
 }
Example #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the transactions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotransactions(transaction transaction)
 {
     base.AddObject("transactions", transaction);
 }