How To Disable Subsonic's Primary Key Autoincrement?

Posted by mamoo on Stack Overflow See other posts from Stack Overflow or by mamoo
Published on 2010-03-16T15:08:17Z Indexed on 2010/03/16 15:21 UTC
Read the original article Hit count: 498

Filed under:
|
|
|

Hi everybody, I'm using Subsonic (simplerepository) and SQLite, and I have a class with an Int64 property marked as [SubSonicPrimaryKey]:

[SubSonicPrimaryKey]    
public Int64 MyID;

which is transformed into:

[MyID] integer NOT NULL PRIMARY KEY AUTOINCREMENT

Is it possible to disable the AUTOINCREMENT feature?

© Stack Overflow or respective owner

Related posts about c#

Related posts about subsonic