Example #1
0
 /// <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;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Session EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSession(Session session)
 {
     base.AddObject("Session", session);
 }