/// <summary>
 /// Create a new DeptStk object.
 /// </summary>
 /// <param name="departmentId">Initial value of DepartmentId.</param>
 /// <param name="productId">Initial value of ProductId.</param>
 public static DeptStk CreateDeptStk(long departmentId, string productId)
 {
     DeptStk deptStk = new DeptStk();
     deptStk.DepartmentId = departmentId;
     deptStk.ProductId = productId;
     return deptStk;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the DeptStks EntitySet.
 /// </summary>
 public void AddToDeptStks(DeptStk deptStk)
 {
     base.AddObject("DeptStks", deptStk);
 }