Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.IO;
- using MvvmCross.Plugins.Sqlite;
- using SQLite.Net.Interop;
- using SQLite.Net.Platform.WindowsPhone8;
- namespace Example {
- public class WP8SqliteConnectionFactory : MvxSqliteConnectionFactoryBase {
- public override ISQLitePlatform CurrentPlattform => new SQLitePlatformWP8();
- public override string GetPlattformDatabasePath(string databaseName) {
- return Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, databaseName);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement