Esempio n. 1
0
        public LocalDatabaseService()
        {
            dbConnectionService = DependencyService.Get <IDbConnectionService>();

            var connectionFactory = new Func <SQLiteConnectionWithLock>(() => dbConnectionService.GetConnection());

            database = new SQLiteAsyncConnection(connectionFactory);
        }