/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Timeslots EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTimeslots(Timeslot timeslot) { base.AddObject("Timeslots", timeslot); }