/// <summary>
 /// Create a new DeptPrmtn object.
 /// </summary>
 /// <param name="departmentPromotionId">Initial value of DepartmentPromotionId.</param>
 /// <param name="departmentId">Initial value of DepartmentId.</param>
 /// <param name="promotionId">Initial value of PromotionId.</param>
 /// <param name="productId">Initial value of ProductId.</param>
 public static DeptPrmtn CreateDeptPrmtn(long departmentPromotionId, long departmentId, long promotionId, string productId)
 {
     DeptPrmtn deptPrmtn = new DeptPrmtn();
     deptPrmtn.DepartmentPromotionId = departmentPromotionId;
     deptPrmtn.DepartmentId = departmentId;
     deptPrmtn.PromotionId = promotionId;
     deptPrmtn.ProductId = productId;
     return deptPrmtn;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the DeptPrmtns EntitySet.
 /// </summary>
 public void AddToDeptPrmtns(DeptPrmtn deptPrmtn)
 {
     base.AddObject("DeptPrmtns", deptPrmtn);
 }