public KetumMigrationsDbContext CreateDbContext(string[] args)
        {
            KetumEfCoreEntityExtensionMappings.Configure();

            var configuration = BuildConfiguration();

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

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