3

I have a WIndows Phone 8.1 application and I want to use the SQLite.Net PCL library forked oysteinkrog here: https://github.com/oysteinkrog/SQLite.Net-PCL However, when I'm trying to create a new connection I do not have all properties needed to create a SQLiteConnectionWithLock
I have found this:

var conn = new SQLiteAsyncConnection(new Func<SQLiteConnectionWithLock>(()=>new SQLiteConnectionWithLock(new SQLitePlatformWinRT(), new SQLiteConnectionString(databasePath, storeDateTimeAsTicks: false))));

But the new SQLitePlatformWinRT does not apply and I can't seem to find an alternative for WP8.1
Any thoughts on a workaround for this?

Schrödinger's Box
  • 3,218
  • 1
  • 30
  • 51

1 Answers1

-1

It's compatible the WinRT with the phone, as they wrote it here: SQLite.Net.Platform for Windows Phone 8.1 and in this comment: SQLite.Net-PCL Connection not finding the DB . So you don't need to worry about it, only use as other cases.

EDIT: Make sure you added sqlite3.dll from sqlite.org for windows phone 8.1 WinRT manually.

Community
  • 1
  • 1
golddragon007
  • 1,247
  • 14
  • 27