예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SessionJeu EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSessionJeu(Session session)
 {
     base.AddObject("SessionJeu", session);
 }
예제 #2
0
 /// <summary>
 /// Create a new Session object.
 /// </summary>
 /// <param name="idSession">Initial value of the idSession property.</param>
 /// <param name="dateDebut">Initial value of the dateDebut property.</param>
 /// <param name="dateFin">Initial value of the dateFin property.</param>
 /// <param name="nomSession">Initial value of the nomSession property.</param>
 public static Session CreateSession(global::System.Int32 idSession, global::System.DateTime dateDebut, global::System.DateTime dateFin, global::System.String nomSession)
 {
     Session session = new Session();
     session.idSession = idSession;
     session.dateDebut = dateDebut;
     session.dateFin = dateFin;
     session.nomSession = nomSession;
     return session;
 }