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