/// <summary> /// Create a new Activite object. /// </summary> /// <param name="idActivite">Initial value of the idActivite property.</param> /// <param name="nomActiviteFr">Initial value of the nomActiviteFr property.</param> /// <param name="nomActiviteEn">Initial value of the nomActiviteEn property.</param> /// <param name="descriptionActiviteFr">Initial value of the descriptionActiviteFr property.</param> /// <param name="descriptionActiviteEn">Initial value of the descriptionActiviteEn property.</param> /// <param name="ageMinimum">Initial value of the ageMinimum property.</param> /// <param name="ageMaximum">Initial value of the ageMaximum property.</param> /// <param name="sessionHiver">Initial value of the sessionHiver property.</param> /// <param name="sessionPrintemps">Initial value of the sessionPrintemps property.</param> /// <param name="sessionEte">Initial value of the sessionEte property.</param> /// <param name="sessionAutomne">Initial value of the sessionAutomne property.</param> /// <param name="prix">Initial value of the prix property.</param> /// <param name="dateDebut">Initial value of the dateDebut property.</param> /// <param name="dateFin">Initial value of the dateFin property.</param> public static Activite CreateActivite(global::System.Int32 idActivite, global::System.String nomActiviteFr, global::System.String nomActiviteEn, global::System.String descriptionActiviteFr, global::System.String descriptionActiviteEn, global::System.Int32 ageMinimum, global::System.Int32 ageMaximum, global::System.Boolean sessionHiver, global::System.Boolean sessionPrintemps, global::System.Boolean sessionEte, global::System.Boolean sessionAutomne, global::System.Decimal prix, global::System.DateTime dateDebut, global::System.DateTime dateFin) { Activite activite = new Activite(); activite.idActivite = idActivite; activite.nomActiviteFr = nomActiviteFr; activite.nomActiviteEn = nomActiviteEn; activite.descriptionActiviteFr = descriptionActiviteFr; activite.descriptionActiviteEn = descriptionActiviteEn; activite.ageMinimum = ageMinimum; activite.ageMaximum = ageMaximum; activite.sessionHiver = sessionHiver; activite.sessionPrintemps = sessionPrintemps; activite.sessionEte = sessionEte; activite.sessionAutomne = sessionAutomne; activite.prix = prix; activite.dateDebut = dateDebut; activite.dateFin = dateFin; return activite; }
/// <summary> /// Deprecated Method for adding a new object to the ActiviteJeu EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToActiviteJeu(Activite activite) { base.AddObject("ActiviteJeu", activite); }