public AbpBoilerPlateMigrationsDbContext CreateDbContext(string[] args)
        {
            AbpBoilerPlateEfCoreEntityExtensionMappings.Configure();

            var configuration = BuildConfiguration();

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

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