/// <summary> /// Create a new Coupon object. /// </summary> /// <param name="couponId">Initial value of CouponId.</param> public static Coupon CreateCoupon(long couponId) { Coupon coupon = new Coupon(); coupon.CouponId = couponId; return coupon; }
/// <summary> /// Deprecated Method for adding a new object to the Coupons EntitySet. /// </summary> public void AddToCoupons(Coupon coupon) { base.AddObject("Coupons", coupon); }