Exemplo n.º 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);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new session object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="creationDate">Initial value of the CreationDate property.</param>
 /// <param name="expirationDate">Initial value of the ExpirationDate property.</param>
 /// <param name="systemUser_id">Initial value of the SystemUser_id property.</param>
 public static session Createsession(global::System.Int32 id, global::System.DateTime creationDate, global::System.DateTime expirationDate, global::System.Int32 systemUser_id)
 {
     session session = new session();
     session.Id = id;
     session.CreationDate = creationDate;
     session.ExpirationDate = expirationDate;
     session.SystemUser_id = systemUser_id;
     return session;
 }