Skip to content
Discussion options

You must be logged in to vote

No.

int types (and, by extension, bigint) are not suitable because they are not globally unique. You also don't get an auto-increment capability in the mobile world.

One thing you CAN do is to have a GUID Id and an int PkId that is not exposed to the user. The PkId is int/auto-increment on first store; the Id is generated when not provided.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by adrianhall
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants