/// <summary> /// Deprecated Method for adding a new object to the TypeSessions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTypeSessions(TypeSession typeSession) { base.AddObject("TypeSessions", typeSession); }
/// <summary> /// Create a new TypeSession object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="nom">Initial value of the Nom property.</param> public static TypeSession CreateTypeSession(global::System.Int32 id, global::System.String nom) { TypeSession typeSession = new TypeSession(); typeSession.Id = id; typeSession.Nom = nom; return typeSession; }