Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect SQL / Exception when inserting into a table that has only a PK column #127
Given the following SQL Server table:
and the following class:
the generated SQL is
which fires the following SqlException: Incorrect syntax near ')'.
There should probably be a special case for tables that only have a primary key field and no other fields.