/// <summary> /// Deprecated Method for adding a new object to the DailyTransactions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDailyTransactions(DailyTransaction dailyTransaction) { base.AddObject("DailyTransactions", dailyTransaction); }
/// <summary> /// Create a new DailyTransaction object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="price">Initial value of the Price property.</param> /// <param name="payment">Initial value of the Payment property.</param> public static DailyTransaction CreateDailyTransaction(global::System.Int64 id, global::System.String date, global::System.Int64 price, global::System.Boolean payment) { DailyTransaction dailyTransaction = new DailyTransaction(); dailyTransaction.ID = id; dailyTransaction.Date = date; dailyTransaction.Price = price; dailyTransaction.Payment = payment; return dailyTransaction; }