public TigerMigrationsDbContext CreateDbContext(string[] args) { TigerEfCoreEntityExtensionMappings.Configure(); var configuration = BuildConfiguration(); var builder = new DbContextOptionsBuilder <TigerMigrationsDbContext>() .UseSqlServer(configuration.GetConnectionString("Default")); return(new TigerMigrationsDbContext(builder.Options)); }
public override void PreConfigureServices(ServiceConfigurationContext context) { TigerEfCoreEntityExtensionMappings.Configure(); }