/// <summary> /// Deprecated Method for adding a new object to the Sessions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSessions(Session session) { base.AddObject("Sessions", session); }
/// <summary> /// Create a new Session object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="event_ID">Initial value of the Event_ID property.</param> /// <param name="speaker_ID">Initial value of the Speaker_ID property.</param> /// <param name="level">Initial value of the Level property.</param> public static Session CreateSession(global::System.Int32 id, global::System.Int32 event_ID, global::System.Int32 speaker_ID, global::System.Int32 level) { Session session = new Session(); session.ID = id; session.Event_ID = event_ID; session.Speaker_ID = speaker_ID; session.Level = level; return session; }