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