Ejemplo n.º 1
0
        public theme SelectByName(string theme)
        {
            DataRow r = _dbal.SelectByField("theme", "nom like '" + theme + "'").Rows[0];

            return(new theme((int)r["idTheme"], (string)r["theme"]));
        }
Ejemplo n.º 2
0
        public salles SelectByName(string salle)
        {
            DataRow r = _dbal.SelectByField("salles", "nom like '" + salle + "'").Rows[0];

            return(new salles((int)r["idSalle"], (string)r["ville"], (int)r["idSalle"]));
        }
Ejemplo n.º 3
0
        public avis SelectByName(string avis)
        {
            DataRow r = _dbal.SelectByField("avis", "avis like '" + avis + "'").Rows[0];

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