コード例 #1
0
 protected void OnSeedDatabaseFromFile()
 {
     CategoryService.ResetToDefault();
     DataOptionsService.SeedDatabase(true);
 }
コード例 #2
0
 protected void OnClearDatabase()
 {
     CategoryService.ResetToDefault();
     DataOptionsService.ClearDatabase();
 }
コード例 #3
0
 protected void OnSeedDatabase()
 {
     CategoryService.ResetToDefault();
     DataOptionsService.SeedDatabase(false);
 }
コード例 #4
0
 protected async Task OnApplyMigrationAsync()
 {
     CategoryService.ResetToDefault();
     await DataOptionsService.ApplyMigrationsAsync();
 }
コード例 #5
0
 protected async Task OnChooseContextAsync()
 {
     await DataOptionsService.GetMigrationOptionsAsync();
 }
コード例 #6
0
 protected async Task OnSaveDataToJsonAsync()
 {
     await DataOptionsService.SaveDataToJsonAsync();
 }
コード例 #7
0
 protected override async Task OnInitAsync() => await DataOptionsService.GetMigrationOptionsAsync();