/// <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 Session EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSession(Session session) { base.AddObject("Session", session); }