public void insert(Pays pays) { NewDbal.Insert("INSERT INTO pays(id, nom) VALUES(" + pays.Id + ", '" + pays.Nom.Replace("'", "''") + "')"); }
public void insert(Fromage fromage) { NewDbal.Insert("INSERT INTO fromage(id,pays_origine_id,nom, creation, image ) VALUES(" + fromage.Id + "," + fromage.Pays_origine_id + ",'" + fromage.Nom + "','" + fromage.Creation + "','" + fromage.Image + "')"); }