Exemplo n.º 1
0
 internal async Task UpdateDatabases()
 {
     using (var main = new DatabaseContext())
         using (var localization = new LocalizationContext())
             await Task.WhenAll(main.Migrate(), localization.Migrate());
 }
Exemplo n.º 2
0
 private static async Task MigrateLocalized(bool intialize)
 {
     using (var context = new LocalizationContext())
         await context.Migrate(intialize).ConfigureAwait(false);
 }