/// <summary>
 /// Create a new DeptStkTempValid object.
 /// </summary>
 /// <param name="departmentId">Initial value of DepartmentId.</param>
 /// <param name="productId">Initial value of ProductId.</param>
 /// <param name="createDate">Initial value of CreateDate.</param>
 /// <param name="@fixed">Initial value of Fixed.</param>
 public static DeptStkTempValid CreateDeptStkTempValid(long departmentId, string productId, global::System.DateTime createDate, long @fixed)
 {
     DeptStkTempValid deptStkTempValid = new DeptStkTempValid();
     deptStkTempValid.DepartmentId = departmentId;
     deptStkTempValid.ProductId = productId;
     deptStkTempValid.CreateDate = createDate;
     deptStkTempValid.Fixed = @fixed;
     return deptStkTempValid;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the DeptStkTempValids EntitySet.
 /// </summary>
 public void AddToDeptStkTempValids(DeptStkTempValid deptStkTempValid)
 {
     base.AddObject("DeptStkTempValids", deptStkTempValid);
 }