/// <summary> /// Create a new Session object. /// </summary> /// <param name="sessionID">Initial value of the SessionID property.</param> public static Session CreateSession(global::System.Int32 sessionID) { Session session = new Session(); session.SessionID = sessionID; 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); }