Forum Cross Platform with Xamarin

SQLite.Net and the primary key

If I have a model with a property marked [PrimaryKey] SQLite.Net seems to replace the value of this property when inserting the object even if I already provided something unique. Is there a way around this? I get objects from a service which already have unique keys and I want to use these locally too and not add another primary key which would complicate things.


Sign In or Register to comment.