/// <summary> /// Deprecated Method for adding a new object to the CouponUses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCouponUses(CouponUses couponUses) { base.AddObject("CouponUses", couponUses); }
/// <summary> /// Create a new CouponUses object. /// </summary> /// <param name="cu_code">Initial value of the cu_code property.</param> /// <param name="cu_username">Initial value of the cu_username property.</param> public static CouponUses CreateCouponUses(global::System.String cu_code, global::System.String cu_username) { CouponUses couponUses = new CouponUses(); couponUses.cu_code = cu_code; couponUses.cu_username = cu_username; return couponUses; }