just a string primary key (like GUID
),and can return by Insert
method
No [AutoIncrement]
only works on integer primary keys
Do not use a GUID for a primary key. Generates al lot of unnecessary overhead in pagestoring etc. If you need a GUID, just add a column with an extra index.
1 Like