public CustomAngularAppWithIdentityServerMigrationsDbContext CreateDbContext(string[] args)
        {
            CustomAngularAppWithIdentityServerEfCoreEntityExtensionMappings.Configure();

            var configuration = BuildConfiguration();

            var builder = new DbContextOptionsBuilder <CustomAngularAppWithIdentityServerMigrationsDbContext>()
                          .UseSqlServer(configuration.GetConnectionString("Default"));

            return(new CustomAngularAppWithIdentityServerMigrationsDbContext(builder.Options));
        }
 public override void PreConfigureServices(ServiceConfigurationContext context)
 {
     CustomAngularAppWithIdentityServerEfCoreEntityExtensionMappings.Configure();
 }