/// <summary> /// Create a new StoredUserPreference object. /// </summary> /// <param name="userID">Initial value of the UserID property.</param> public static StoredUserPreference CreateStoredUserPreference(global::System.Int32 userID) { StoredUserPreference storedUserPreference = new StoredUserPreference(); storedUserPreference.UserID = userID; return(storedUserPreference); }
/// <summary> /// Deprecated Method for adding a new object to the StoredUserPreferences EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStoredUserPreferences(StoredUserPreference storedUserPreference) { base.AddObject("StoredUserPreferences", storedUserPreference); }