Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sessions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSessions(Session session)
 {
     base.AddObject("Sessions", session);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new Session object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="eventClassId">Initial value of the EventClassId property.</param>
 public static Session CreateSession(global::System.Int64 id, global::System.Int64 eventClassId)
 {
     Session session = new Session();
     session.Id = id;
     session.EventClassId = eventClassId;
     return session;
 }