/// <summary> /// Deprecated Method for adding a new object to the Transaction EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTransaction(Transaction transaction) { base.AddObject("Transaction", transaction); }
/// <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; }