/// <summary> /// Deprecated Method for adding a new object to the tb_history_cost EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotb_history_cost(tb_history_cost tb_history_cost) { base.AddObject("tb_history_cost", tb_history_cost); }
/// <summary> /// Create a new tb_history_cost object. /// </summary> /// <param name="companyCode">Initial value of the CompanyCode property.</param> /// <param name="historyCode">Initial value of the HistoryCode property.</param> /// <param name="cost">Initial value of the Cost property.</param> /// <param name="stamp">Initial value of the Stamp property.</param> public static tb_history_cost Createtb_history_cost(global::System.String companyCode, global::System.String historyCode, global::System.Double cost, global::System.DateTime stamp) { tb_history_cost tb_history_cost = new tb_history_cost(); tb_history_cost.CompanyCode = companyCode; tb_history_cost.HistoryCode = historyCode; tb_history_cost.Cost = cost; tb_history_cost.Stamp = stamp; return tb_history_cost; }