NpgsqlCommandcmd=newNpgsqlCommand($"SELECT * FROM Banque",dbAccess);
@ -375,6 +375,22 @@ namespace LinqToPgSQL
returnbquesDispo;
}
publicList<Banque>ImportBanquesForUser(Inscriti)
{
List<Banque>bquesDispo=newList<Banque>();
dbAccess.Open();
NpgsqlCommandcmd=newNpgsqlCommand($"SELECT b.nom, b.urllogo, b.urldl FROM Banque b, InscrBanque ib WHERE ib.nombanque = b.nom AND ib.idinscrit=(@id);",dbAccess);