/// <summary> /// Deprecated Method for adding a new object to the Days EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDays(Day day) { base.AddObject("Days", day); }
/// <summary> /// Create a new Day object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="title">Initial value of the Title property.</param> public static Day CreateDay(global::System.Int32 id, global::System.String title) { Day day = new Day(); day.Id = id; day.Title = title; return day; }