コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EtatSessions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEtatSessions(EtatSession etatSession)
 {
     base.AddObject("EtatSessions", etatSession);
 }
コード例 #2
0
 /// <summary>
 /// Create a new EtatSession object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="nom">Initial value of the Nom property.</param>
 public static EtatSession CreateEtatSession(global::System.Int32 id, global::System.String nom)
 {
     EtatSession etatSession = new EtatSession();
     etatSession.Id = id;
     etatSession.Nom = nom;
     return etatSession;
 }