I'm using the SQLite.Net Async API. Is there a way to have it automatically INSERT
or UPDATE
depending on the entity's primary key which is defined as [PrimaryKey, AutoIncrement]
?
I can see from the intellisense that there are InsertAsync()
and UpdateAsync()
but no information about how they work in case the primary key property is already set in the entity.