示例#1
0
        public async Task <IActionResult> ClearDb()
        {
            await _sqliteDb.ClearDatabase();

            await _sqliteDb.Vacuum();

            return(Ok());
        }
示例#2
0
        public async Task OnPostClearBaseAsync()
        {
            await _sqliteDb.ClearDatabase();

            await _sqliteDb.Vacuum();

            DeletedEntities = await _sqliteDb.GetDeletedEntitiesInfo();

            DatabaseInfo = _sqliteDb.GetSqliteDatabaseInfo();
        }