public pays SelectById(int idPays) { DataRow r = _dbal.SelectById("pays", idPays); return(new pays((int)r["id"], (string)r["nom"])); }
public fromage SelectById(int idFromage) { DataRow r = _dbal.SelectById("fromage", idFromage); return(new fromage((int)r["id"], (string)r["pays_origine"], (string)r["nom"], (string)r["creation"], (string)r["image"], (string)r["dureeAffinage"], (string)r["recette"], (string)r["histoire"])); }