Пример #1
0
        public UsersPromptsRepository()
        {
            string databasePath = CreateSQLiteDatabase.GetDatabasePath();

            database = new SQLiteAsyncConnection(databasePath);
            database.CreateTableAsync <UsersPromptsModel>(); // Create table if it not exists
        }
Пример #2
0
        public DeleteAllTables()
        {
            string databasePath = CreateSQLiteDatabase.GetDatabasePath();

            database = new SQLiteAsyncConnection(databasePath);
        }