Example #1
0
        public void insert(theme untheme)
        {
            string ThemeInsert;

            ThemeInsert = ("themes (id, theme) values (" + untheme.IdTheme + ",'" + untheme.Theme.Replace("'", "''") + "')");
            _dbal.Insert(ThemeInsert);
        }
Example #2
0
        public void insert(salles unesalle)
        {
            string SalleInsert;

            SalleInsert = ("salle (idSalle, ville, idTheme) values (" + unesalle.IdSalle + ",'" + unesalle.Ville.Replace("'", "''") + "'," + unesalle.IdTheme + ")");
            _dbal.Insert(SalleInsert);
        }
Example #3
0
        public void insert(avis unavis)
        {
            string AvisInsert;

            AvisInsert = ("avis (idAvis, idClient, idSalle, avis) values (" + unavis.IdAvis + "," + unavis.IdClient + "," + unavis.IdSalle + ",'" + unavis.Avis.Replace("'", "''") + "')");
            _dbal.Insert(AvisInsert);
        }