public Qa400MigrationsDbContext CreateDbContext(string[] args)
        {
            Qa400EfCoreEntityExtensionMappings.Configure();

            var configuration = BuildConfiguration();

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

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