public AbpVnextMigrationsDbContext CreateDbContext(string[] args)
        {
            AbpVnextEfCoreEntityExtensionMappings.Configure();

            var configuration = BuildConfiguration();

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

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