public void Seed(SmartObjectContext context) { context.MigrateLocaleResources(MigrateLocaleResources); DataMigrator.ImportAddressFormats(context); context.SaveChanges(); }
private void PopulateCountriesAndStates() { SaveRange(_data.Countries().Where(x => x != null)); DataMigrator.ImportAddressFormats(_ctx); }