SQL fehler behoben

This commit is contained in:
2023-04-18 22:06:00 +02:00
parent 455d23e3ad
commit 1555e54e82
7 changed files with 29 additions and 7 deletions

View File

@@ -86,7 +86,7 @@ namespace SewerStammGen.DAL.Services.PostgresqlData
public async Task<Schacht> Update(Schacht entity)
{
string command = @"UPDATE " + tableName + "SET " +
string command = @"UPDATE " + tableName + " SET " +
"objektbezeichnung=@1, rechtswert=@2, hochwert=@3, sohlhoehe=@4, deckelhoehe=@5, entwaesserung=@6, ref_projekt_id=@7 WHERE schacht_id=@8";
using(var cmd = new NpgsqlCommand(command,conn))
{