public SignalRTieredDemoMigrationsDbContext CreateDbContext(string[] args)
        {
            SignalRTieredDemoEfCoreEntityExtensionMappings.Configure();

            var configuration = BuildConfiguration();

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

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