/// <summary> /// Deprecated Method for adding a new object to the DayPreferences EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDayPreferences(DayPreference dayPreference) { base.AddObject("DayPreferences", dayPreference); }
/// <summary> /// Create a new DayPreference object. /// </summary> /// <param name="dayPrefID">Initial value of the DayPrefID property.</param> /// <param name="userPrefID">Initial value of the UserPrefID property.</param> /// <param name="day">Initial value of the Day property.</param> public static DayPreference CreateDayPreference(global::System.Int32 dayPrefID, global::System.Int32 userPrefID, global::System.String day) { DayPreference dayPreference = new DayPreference(); dayPreference.DayPrefID = dayPrefID; dayPreference.UserPrefID = userPrefID; dayPreference.Day = day; return dayPreference; }