diff --git a/Code/LinqToPgSQL/PersLinqToPgSQL.cs b/Code/LinqToPgSQL/PersLinqToPgSQL.cs index 73dcfd6..93a225e 100644 --- a/Code/LinqToPgSQL/PersLinqToPgSQL.cs +++ b/Code/LinqToPgSQL/PersLinqToPgSQL.cs @@ -111,7 +111,7 @@ namespace LinqToPgSQL using (var command1 = new NpgsqlCommand(requete, conn)) { - command1.Parameters.AddWithValue("p2", i.Id); + command1.Parameters.AddWithValue("p", i.Id); await command1.ExecuteNonQueryAsync(); }