protected override void OnModelCreating(global::Microsoft.EntityFrameworkCore.ModelBuilder builder) { base.OnModelCreating(builder); // Customize the ASP.NET Identity model and override the defaults if needed. // For example, you can rename the ASP.NET Identity table names and more. // Add your customizations after calling base.OnModelCreating(builder); global::IdentityServer4.DataAccess.SeedData.SeedCountries.Seed(builder); }
void global::Anabi.DataAccess.Ef.EntityConfigurators.IEntityConfig.SetupEntity(global::Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder) { SetupEntity_ModelBuilder_Delegate del; if (MockBehavior == MockBehavior.Strict) { del = _stubs.GetMethodStub <SetupEntity_ModelBuilder_Delegate>("SetupEntity"); } else { if (!_stubs.TryGetMethodStub <SetupEntity_ModelBuilder_Delegate>("SetupEntity", out del)) { return; } } del.Invoke(modelBuilder); }