public AngularMaterialMigrationsDbContext CreateDbContext(string[] args)
        {
            AngularMaterialEfCoreEntityExtensionMappings.Configure();

            var configuration = BuildConfiguration();

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

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