/// <summary> /// Create a new DeptCost object. /// </summary> /// <param name="departmentId">Initial value of DepartmentId.</param> /// <param name="costDate">Initial value of CostDate.</param> public static DeptCost CreateDeptCost(long departmentId, global::System.DateTime costDate) { DeptCost deptCost = new DeptCost(); deptCost.DepartmentId = departmentId; deptCost.CostDate = costDate; return deptCost; }
/// <summary> /// Deprecated Method for adding a new object to the DeptCosts EntitySet. /// </summary> public void AddToDeptCosts(DeptCost deptCost) { base.AddObject("DeptCosts", deptCost); }