/// <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); }
/// <summary> /// Create a new bvc_OrderCoupon object. /// </summary> /// <param name="bvin">Initial value of the bvin property.</param> /// <param name="lastUpdated">Initial value of the LastUpdated property.</param> /// <param name="couponCode">Initial value of the CouponCode property.</param> /// <param name="orderBvin">Initial value of the OrderBvin property.</param> public static bvc_OrderCoupon Createbvc_OrderCoupon(global::System.String bvin, global::System.DateTime lastUpdated, global::System.String couponCode, global::System.String orderBvin) { bvc_OrderCoupon bvc_OrderCoupon = new bvc_OrderCoupon(); bvc_OrderCoupon.bvin = bvin; bvc_OrderCoupon.LastUpdated = lastUpdated; bvc_OrderCoupon.CouponCode = couponCode; bvc_OrderCoupon.OrderBvin = orderBvin; return bvc_OrderCoupon; }