/// <summary> /// Create a new Affiliates object. /// </summary> /// <param name="a_id">Initial value of the a_id property.</param> /// <param name="a_username">Initial value of the a_username property.</param> /// <param name="a_password">Initial value of the a_password property.</param> /// <param name="a_name">Initial value of the a_name property.</param> /// <param name="a_email">Initial value of the a_email property.</param> /// <param name="a_siteurl">Initial value of the a_siteurl property.</param> /// <param name="a_payment_details">Initial value of the a_payment_details property.</param> /// <param name="a_deleted">Initial value of the a_deleted property.</param> /// <param name="a_active">Initial value of the a_active property.</param> /// <param name="a_recurrent">Initial value of the a_recurrent property.</param> /// <param name="a_balance">Initial value of the a_balance property.</param> /// <param name="a_request_payment">Initial value of the a_request_payment property.</param> public static Affiliates CreateAffiliates(global::System.Int32 a_id, global::System.String a_username, global::System.String a_password, global::System.String a_name, global::System.String a_email, global::System.String a_siteurl, global::System.String a_payment_details, global::System.Boolean a_deleted, global::System.Boolean a_active, global::System.Boolean a_recurrent, global::System.Decimal a_balance, global::System.Boolean a_request_payment) { Affiliates affiliates = new Affiliates(); affiliates.a_id = a_id; affiliates.a_username = a_username; affiliates.a_password = a_password; affiliates.a_name = a_name; affiliates.a_email = a_email; affiliates.a_siteurl = a_siteurl; affiliates.a_payment_details = a_payment_details; affiliates.a_deleted = a_deleted; affiliates.a_active = a_active; affiliates.a_recurrent = a_recurrent; affiliates.a_balance = a_balance; affiliates.a_request_payment = a_request_payment; return affiliates; }
/// <summary> /// Deprecated Method for adding a new object to the Affiliates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAffiliates(Affiliates affiliates) { base.AddObject("Affiliates", affiliates); }