public theme SelectByName(string theme) { DataRow r = _dbal.SelectByField("theme", "nom like '" + theme + "'").Rows[0]; return(new theme((int)r["idTheme"], (string)r["theme"])); }
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"])); }
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"])); }