/// <summary> /// Deprecated Method for adding a new object to the DeptStkHis EntitySet. /// </summary> public void AddToDeptStkHis(DeptStkHis deptStkHis) { base.AddObject("DeptStkHis", deptStkHis); }
/// <summary> /// Create a new DeptStkHis object. /// </summary> /// <param name="departmentStockHistoryId">Initial value of DepartmentStockHistoryId.</param> /// <param name="departmentId">Initial value of DepartmentId.</param> public static DeptStkHis CreateDeptStkHis(long departmentStockHistoryId, long departmentId) { DeptStkHis deptStkHis = new DeptStkHis(); deptStkHis.DepartmentStockHistoryId = departmentStockHistoryId; deptStkHis.DepartmentId = departmentId; return deptStkHis; }