public static IConfigurationBuilder AddEntityFrameworkConfig(this IConfigurationBuilder builder, ConfigurationContext context, string application = null, string discriminator = null, string aspect = "settings", bool ensureCreated = false) { return(builder.Add(new EFConfigurationSource(context, application, discriminator, aspect, ensureCreated))); }