/// <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="id">Initial value of the Id property.</param> /// <param name="lastUpdatedUtc">Initial value of the LastUpdatedUtc property.</param> /// <param name="couponCode">Initial value of the CouponCode property.</param> /// <param name="orderBvin">Initial value of the OrderBvin property.</param> /// <param name="storeId">Initial value of the StoreId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="isUsed">Initial value of the IsUsed property.</param> public static bvc_OrderCoupon Createbvc_OrderCoupon(global::System.Int64 id, global::System.DateTime lastUpdatedUtc, global::System.String couponCode, global::System.String orderBvin, global::System.Int64 storeId, global::System.String userId, global::System.Boolean isUsed) { bvc_OrderCoupon bvc_OrderCoupon = new bvc_OrderCoupon(); bvc_OrderCoupon.Id = id; bvc_OrderCoupon.LastUpdatedUtc = lastUpdatedUtc; bvc_OrderCoupon.CouponCode = couponCode; bvc_OrderCoupon.OrderBvin = orderBvin; bvc_OrderCoupon.StoreId = storeId; bvc_OrderCoupon.UserId = userId; bvc_OrderCoupon.IsUsed = isUsed; return bvc_OrderCoupon; }