示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Transaction EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTransaction(Transaction transaction)
 {
     base.AddObject("Transaction", transaction);
 }
示例#2
0
 /// <summary>
 /// Create a new Transaction object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="debitCustomerID">Initial value of the DebitCustomerID property.</param>
 public static Transaction CreateTransaction(global::System.Int64 id, global::System.Int64 debitCustomerID)
 {
     Transaction transaction = new Transaction();
     transaction.ID = id;
     transaction.DebitCustomerID = debitCustomerID;
     return transaction;
 }