Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. using System.IO;
  2. using MvvmCross.Plugins.Sqlite;
  3. using SQLite.Net.Interop;
  4. using SQLite.Net.Platform.WindowsPhone8;
  5.  
  6. namespace Example {
  7. public class WP8SqliteConnectionFactory : MvxSqliteConnectionFactoryBase {
  8. public override ISQLitePlatform CurrentPlattform => new SQLitePlatformWP8();
  9.  
  10. public override string GetPlattformDatabasePath(string databaseName) {
  11. return Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, databaseName);
  12. }
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement