/// <summary> /// Deprecated Method for adding a new object to the SavedSearches EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSavedSearches(SavedSearches savedSearches) { base.AddObject("SavedSearches", savedSearches); }
/// <summary> /// Create a new SavedSearches object. /// </summary> /// <param name="ss_id">Initial value of the ss_id property.</param> /// <param name="u_username">Initial value of the u_username property.</param> /// <param name="ss_name">Initial value of the ss_name property.</param> /// <param name="ss_gender">Initial value of the ss_gender property.</param> /// <param name="ss_country">Initial value of the ss_country property.</param> /// <param name="ss_state">Initial value of the ss_state property.</param> /// <param name="ss_zip">Initial value of the ss_zip property.</param> /// <param name="ss_city">Initial value of the ss_city property.</param> /// <param name="ss_agefrom">Initial value of the ss_agefrom property.</param> /// <param name="ss_ageto">Initial value of the ss_ageto property.</param> /// <param name="ss_photoreq">Initial value of the ss_photoreq property.</param> /// <param name="ss_choiceids">Initial value of the ss_choiceids property.</param> /// <param name="ss_emailmatches">Initial value of the ss_emailmatches property.</param> /// <param name="ss_emailfrequency">Initial value of the ss_emailfrequency property.</param> public static SavedSearches CreateSavedSearches(global::System.Int32 ss_id, global::System.String u_username, global::System.String ss_name, global::System.Int32 ss_gender, global::System.String ss_country, global::System.String ss_state, global::System.String ss_zip, global::System.String ss_city, global::System.Int32 ss_agefrom, global::System.Int32 ss_ageto, global::System.Boolean ss_photoreq, global::System.String ss_choiceids, global::System.Boolean ss_emailmatches, global::System.Int32 ss_emailfrequency) { SavedSearches savedSearches = new SavedSearches(); savedSearches.ss_id = ss_id; savedSearches.u_username = u_username; savedSearches.ss_name = ss_name; savedSearches.ss_gender = ss_gender; savedSearches.ss_country = ss_country; savedSearches.ss_state = ss_state; savedSearches.ss_zip = ss_zip; savedSearches.ss_city = ss_city; savedSearches.ss_agefrom = ss_agefrom; savedSearches.ss_ageto = ss_ageto; savedSearches.ss_photoreq = ss_photoreq; savedSearches.ss_choiceids = ss_choiceids; savedSearches.ss_emailmatches = ss_emailmatches; savedSearches.ss_emailfrequency = ss_emailfrequency; return savedSearches; }