Beispiel #1
0
 public Event(Theme theme, DateTime dateDebut, DateTime dateFin,Campagne laCampagne, Ville laVille)
 {
     this.Theme = theme;
     this.dateDebut = dateDebut;
     this.dateFin = dateFin;
     this.LaVille=laVille;
     this.LaCampagne=laCampagne;
 }
Beispiel #2
0
        //appel de la couche DAL pour creer un new client
        public int CreerEvent(int theme, DateTime dateDebut, DateTime dateFin, int laCampagne, int laVille )
        {
            Event leEvenement;
            Campagne uneCampagne=new Campagne(laCampagne);
            Ville uneVille = new Ville(laVille);
            Theme unTheme = new Theme(theme);

            leEvenement = new Event( unTheme,  dateDebut,  dateFin, uneCampagne,uneVille);
            return EventDAO.GetInstanceDAOEvent().AjoutEvent(leEvenement);
        }
Beispiel #3
0
 public Evenementiel(int id, string nom, string rue, string telephone, string mail, string site, Ville laVille)
 {
     this.id        = id;
     this.nom       = nom;
     this.rue       = rue;
     this.telephone = telephone;
     this.mail      = mail;
     this.site      = site;
     this.laVille   = laVille;
 }
 public Communication(int id, string nom, string rue, string telephone, string mail, string site, Ville laVille)
 {
     this.Id        = id;
     this.Nom       = nom;
     this.Rue       = rue;
     this.Telephone = telephone;
     this.Mail      = mail;
     this.Site      = site;
     this.LaVille   = laVille;
 }
 public Communication(string nom, string rue, string telephone, string mail, string site, Ville laVille)
 {
     this.nom       = nom;
     this.rue       = rue;
     this.telephone = telephone;
     this.mail      = mail;
     this.site      = site;
     this.laVille   = laVille;
 }
Beispiel #6
0
 public Agence(int id, string nom, string rue, string telephone, string mail, string site, Ville laVille, string typeAgence)
 {
     this.id         = id;
     this.nom        = nom;
     this.rue        = rue;
     this.telephone  = telephone;
     this.mail       = mail;
     this.site       = site;
     this.laVille    = laVille;
     this.typeAgence = typeAgence;
 }