/// <summary> /// Create a new FinanceLog object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="receiveDocID">Initial value of the ReceiveDocID property.</param> /// <param name="quantityLeft">Initial value of the QuantityLeft property.</param> /// <param name="newPricePerPack">Initial value of the NewPricePerPack property.</param> /// <param name="columnName">Initial value of the ColumnName property.</param> /// <param name="reason">Initial value of the Reason property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="userID">Initial value of the UserID property.</param> public static FinanceLog CreateFinanceLog(global::System.Int32 id, global::System.Int32 receiveDocID, global::System.Int32 quantityLeft, global::System.Double newPricePerPack, global::System.String columnName, global::System.String reason, global::System.DateTime date, global::System.Int32 userID) { FinanceLog financeLog = new FinanceLog(); financeLog.ID = id; financeLog.ReceiveDocID = receiveDocID; financeLog.QuantityLeft = quantityLeft; financeLog.NewPricePerPack = newPricePerPack; financeLog.ColumnName = columnName; financeLog.Reason = reason; financeLog.Date = date; financeLog.UserID = userID; return financeLog; }
/// <summary> /// Deprecated Method for adding a new object to the FinanceLogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFinanceLogs(FinanceLog financeLog) { base.AddObject("FinanceLogs", financeLog); }