Ejemplo n.º 1
0
        public theme SelectById(int idTheme)
        {
            DataRow r = _dbal.SelectById("theme", idTheme);

            return(new theme((int)r["idTheme"], (string)r["theme"]));
        }
Ejemplo n.º 2
0
        public salles SelectById(int idSalle)
        {
            DataRow r = _dbal.SelectById("salles", idSalle);

            return(new salles((int)r["idSalle"], (string)r["ville"], (int)r["idSalle"]));
        }
Ejemplo n.º 3
0
        public avis SelectById(int idAvis)
        {
            DataRow r = _dbal.SelectById("avis", idAvis);

            return(new avis((int)r["idAvis"], (int)r["idClient"], (int)r["idSalle"], (string)r["avis"]));
        }