Пример #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);
 }
Пример #2
0
 /// <summary>
 /// Create a new session object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="accountId">Initial value of the accountId property.</param>
 public static session Createsession(global::System.Int64 id, global::System.Int64 accountId)
 {
     session session = new session();
     session.id = id;
     session.accountId = accountId;
     return session;
 }