/// <summary> /// Deprecated Method for adding a new object to the EtatSessions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEtatSessions(EtatSession etatSession) { base.AddObject("EtatSessions", etatSession); }
/// <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; }