Example #1
0
        public UnitOfWork(IFileAccessHelper fileAccessHelper)
        {
            string dbPath = fileAccessHelper.GetLocalFilePath("recipes.db3");

            _connection = new SQLiteAsyncConnection(dbPath);
        }
Example #2
0
        public BasicRepository(IFileAccessHelper fileAccessHelper)
        {
            var dbPath = fileAccessHelper.GetLocalFilePath("data.db3");

            conn = new SQLiteAsyncConnection(fileAccessHelper.GetLocalFilePath("data.db3"));
        }