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