public DocumentationMigrationsDbContext CreateDbContext(string[] args)
        {
            DocumentationEfCoreEntityExtensionMappings.Configure();

            var configuration = BuildConfiguration();

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

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