SQLite-Net on Windows Phone8

KrystianKrystian USMember

Hello I'am writting simple app in Xamarin.Forms basing on Tasky code sample, problem is that there wasn't included Windows Phone project and I don't know how to create SQLite Connection for WinPhone.
For android it looks something like that :

var plat = new SQLite.Net.Platform.XamarinAndroid.SQLitePlatformAndroid();

var connection = new SQLite.Net.SQLiteConnection(plat, fullDbPath);

App.setDbConnection(connection);

Main problem is that I dont know how to get right first parameter that is platform. What class to use to get plafrom object for win phone ?

Posts

Sign In or Register to comment.