/// <summary>
 /// Create a new DeptStkOutDet object.
 /// </summary>
 /// <param name="stockOutId">Initial value of StockOutId.</param>
 /// <param name="productId">Initial value of ProductId.</param>
 /// <param name="departmentId">Initial value of DepartmentId.</param>
 /// <param name="stockOutDetailId">Initial value of StockOutDetailId.</param>
 public static DeptStkOutDet CreateDeptStkOutDet(long stockOutId, string productId, long departmentId, long stockOutDetailId)
 {
     DeptStkOutDet deptStkOutDet = new DeptStkOutDet();
     deptStkOutDet.StockOutId = stockOutId;
     deptStkOutDet.ProductId = productId;
     deptStkOutDet.DepartmentId = departmentId;
     deptStkOutDet.StockOutDetailId = stockOutDetailId;
     return deptStkOutDet;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the DeptStkOutDets EntitySet.
 /// </summary>
 public void AddToDeptStkOutDets(DeptStkOutDet deptStkOutDet)
 {
     base.AddObject("DeptStkOutDets", deptStkOutDet);
 }