/// <summary> /// Create a new Session object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="speakerID">Initial value of the SpeakerID property.</param> /// <param name="releaseID">Initial value of the ReleaseID property.</param> /// <param name="begin">Initial value of the Begin property.</param> /// <param name="end">Initial value of the End property.</param> /// <param name="type">Initial value of the Type property.</param> /// <param name="title">Initial value of the Title property.</param> public static Session CreateSession(global::System.Int32 id, global::System.Int32 speakerID, global::System.Int32 releaseID, global::System.TimeSpan begin, global::System.TimeSpan end, global::System.Int32 type, global::System.String title) { Session session = new Session(); session.ID = id; session.SpeakerID = speakerID; session.ReleaseID = releaseID; session.Begin = begin; session.End = end; session.Type = type; session.Title = title; return session; }
/// <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); }