public HelpDeskMigrationsDbContext CreateDbContext(string[] args)
        {
            HelpDeskEfCoreEntityExtensionMappings.Configure();

            var configuration = BuildConfiguration();

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

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