I solved this issue. Coming from a MSSQL background, i missunderstood devart ef parameter mapping.
When using "@" for a parameter, you also have to add it to the parametername - otherwise it is (silently?) removed and treated as a column - thats why i thought the error is about the column and not about the parameter...
So with "@" as prefix possible solutions would be
Code: Select all
<CommandText>UPDATE "TestTable" SET "TestColumn" = @TestColumn WHERE "TestTableID" = @TestTableID;</CommandText>
<Parameter Name="@TestColumn" Type="int" Mode="In" />
<Parameter Name="@TestTableID" Type="int" Mode="In" />
or with ":" as prefix
Code: Select all
<CommandText>UPDATE "TestTable" SET "TestColumn" = :TestColumn WHERE "TestTableID" = :TestTableID;</CommandText>
<Parameter Name="TestColumn" Type="int" Mode="In" />
<Parameter Name="TestTableID" Type="int" Mode="In" />
Thanks,
Dresel