/// <summary>
 /// Create a new PblshCpn object.
 /// </summary>
 /// <param name="couponId">Initial value of CouponId.</param>
 /// <param name="publishedCouponId">Initial value of PublishedCouponId.</param>
 /// <param name="departmentId">Initial value of DepartmentId.</param>
 public static PblshCpn CreatePblshCpn(long couponId, long publishedCouponId, long departmentId)
 {
     PblshCpn pblshCpn = new PblshCpn();
     pblshCpn.CouponId = couponId;
     pblshCpn.PublishedCouponId = publishedCouponId;
     pblshCpn.DepartmentId = departmentId;
     return pblshCpn;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the PblshCpns EntitySet.
 /// </summary>
 public void AddToPblshCpns(PblshCpn pblshCpn)
 {
     base.AddObject("PblshCpns", pblshCpn);
 }