sx.paroxysm
2011-08-05 13:13:42 UTC
I open up the table and put a few test values in then test run it to try adding new values.
When I start the program and try to add new values it lets me, but the Primary Key populates as -1 (even though there are only 2 prior values). It will let me populate the rest of the fields as normal, but when I go to the next the primary key is assigned -2.
The primary key is an Int, no nulls allowed, Unique and Primary key set to true. Identity set to true, with increment 1, and seed as 1.
Any ideas?