/// <summary> /// Deprecated Method for adding a new object to the DeptRetCosts EntitySet. /// </summary> public void AddToDeptRetCosts(DeptRetCost deptRetCost) { base.AddObject("DeptRetCosts", deptRetCost); }
/// <summary> /// Create a new DeptRetCost object. /// </summary> /// <param name="departmentReturnId">Initial value of DepartmentReturnId.</param> /// <param name="costType">Initial value of CostType.</param> public static DeptRetCost CreateDeptRetCost(long departmentReturnId, long costType) { DeptRetCost deptRetCost = new DeptRetCost(); deptRetCost.DepartmentReturnId = departmentReturnId; deptRetCost.CostType = costType; return deptRetCost; }