예제 #1
0
 /// <summary>
 /// Create a new Timeslot object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="event_ID">Initial value of the Event_ID property.</param>
 public static Timeslot CreateTimeslot(global::System.Int32 id, global::System.Int32 event_ID)
 {
     Timeslot timeslot = new Timeslot();
     timeslot.ID = id;
     timeslot.Event_ID = event_ID;
     return timeslot;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Timeslots EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTimeslots(Timeslot timeslot)
 {
     base.AddObject("Timeslots", timeslot);
 }