public void ConfigureEntityFramework(IServiceCollection services)
        {
            Console.WriteLine($"Using Batch Size: {AppConfig.EfBatchSize}");
            if (AppConfig.EfSchema != null)
            {
                Console.WriteLine($"Using Schema: {AppConfig.EfSchema}");
            }

            services.AddDbContext <AppDb>(
                options => options.UseFirebird(AppConfig.Config["Data:ConnectionString"],
                                               FirebirdOptions => FirebirdOptions.MaxBatchSize(AppConfig.EfBatchSize)),
                ServiceLifetime.Scoped);
        }