/// <summary> /// Create a new DeptStkOutCst object. /// </summary> /// <param name="stockOutId">Initial value of StockOutId.</param> /// <param name="costType">Initial value of CostType.</param> /// <param name="departmentId">Initial value of DepartmentId.</param> /// <param name="cost">Initial value of Cost.</param> public static DeptStkOutCst CreateDeptStkOutCst(long stockOutId, long costType, long departmentId, long cost) { DeptStkOutCst deptStkOutCst = new DeptStkOutCst(); deptStkOutCst.StockOutId = stockOutId; deptStkOutCst.CostType = costType; deptStkOutCst.DepartmentId = departmentId; deptStkOutCst.Cost = cost; return deptStkOutCst; }
/// <summary> /// Deprecated Method for adding a new object to the DeptStkOutCsts EntitySet. /// </summary> public void AddToDeptStkOutCsts(DeptStkOutCst deptStkOutCst) { base.AddObject("DeptStkOutCsts", deptStkOutCst); }