AutoIncrement in SQLite with Subsonic 3
Posted
by Cooter
on Stack Overflow
See other posts from Stack Overflow
or by Cooter
Published on 2010-03-31T19:22:54Z
Indexed on
2010/04/01
2:53 UTC
Read the original article
Hit count: 349
subsonic
This is probably a simple matter, but when I create a new object, the ID property starts off as 0 rather than null. As I understand it, SQLite takes/needs a value of null for the PK column to do the AutoIncrement.
So the short question is how to get the ID in the object to start life as null?
Thanks cooter
© Stack Overflow or respective owner