/// <summary> /// Create a new bvc_OrderCoupon object. /// </summary> /// <param name="orderID">Initial value of the OrderID property.</param> /// <param name="couponCode">Initial value of the CouponCode property.</param> public static bvc_OrderCoupon Createbvc_OrderCoupon(global::System.Int32 orderID, global::System.String couponCode) { bvc_OrderCoupon bvc_OrderCoupon = new bvc_OrderCoupon(); bvc_OrderCoupon.OrderID = orderID; bvc_OrderCoupon.CouponCode = couponCode; return bvc_OrderCoupon; }
/// <summary> /// Deprecated Method for adding a new object to the bvc_OrderCoupon EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_OrderCoupon(bvc_OrderCoupon bvc_OrderCoupon) { base.AddObject("bvc_OrderCoupon", bvc_OrderCoupon); }