/// <summary> /// Deprecated Method for adding a new object to the Subscriptions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSubscriptions(Subscriptions subscriptions) { base.AddObject("Subscriptions", subscriptions); }
/// <summary> /// Create a new Subscriptions object. /// </summary> /// <param name="s_id">Initial value of the s_id property.</param> /// <param name="u_username">Initial value of the u_username property.</param> /// <param name="p_id">Initial value of the p_id property.</param> /// <param name="s_order_date">Initial value of the s_order_date property.</param> /// <param name="s_renew_date">Initial value of the s_renew_date property.</param> /// <param name="s_confirmed">Initial value of the s_confirmed property.</param> /// <param name="s_cancelled">Initial value of the s_cancelled property.</param> /// <param name="s_cancellation_requested">Initial value of the s_cancellation_requested property.</param> /// <param name="s_paymentprocessor">Initial value of the s_paymentprocessor property.</param> public static Subscriptions CreateSubscriptions(global::System.Int32 s_id, global::System.String u_username, global::System.Int32 p_id, global::System.DateTime s_order_date, global::System.DateTime s_renew_date, global::System.Boolean s_confirmed, global::System.Boolean s_cancelled, global::System.Boolean s_cancellation_requested, global::System.String s_paymentprocessor) { Subscriptions subscriptions = new Subscriptions(); subscriptions.s_id = s_id; subscriptions.u_username = u_username; subscriptions.p_id = p_id; subscriptions.s_order_date = s_order_date; subscriptions.s_renew_date = s_renew_date; subscriptions.s_confirmed = s_confirmed; subscriptions.s_cancelled = s_cancelled; subscriptions.s_cancellation_requested = s_cancellation_requested; subscriptions.s_paymentprocessor = s_paymentprocessor; return subscriptions; }