/// <summary> /// Create a new DeptStkInCst object. /// </summary> /// <param name="stockInId">Initial value of StockInId.</param> /// <param name="costType">Initial value of CostType.</param> /// <param name="departmentId">Initial value of DepartmentId.</param> public static DeptStkInCst CreateDeptStkInCst(string stockInId, long costType, long departmentId) { DeptStkInCst deptStkInCst = new DeptStkInCst(); deptStkInCst.StockInId = stockInId; deptStkInCst.CostType = costType; deptStkInCst.DepartmentId = departmentId; return deptStkInCst; }
/// <summary> /// Deprecated Method for adding a new object to the DeptStkInCsts EntitySet. /// </summary> public void AddToDeptStkInCsts(DeptStkInCst deptStkInCst) { base.AddObject("DeptStkInCsts", deptStkInCst); }