Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StoredUserPreferences EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStoredUserPreferences(StoredUserPreference storedUserPreference)
 {
     base.AddObject("StoredUserPreferences", storedUserPreference);
 }