public static EFCoreConfiguration From(DataAccessOptions options) { if (!s_configurationFactories.TryGetValue(options.Database.Provider, out var configurationFactory)) { throw new NotSupportedException($"Database provider {options.Database.Provider} is not supported."); } return(configurationFactory.Create(options)); }
protected EFCoreConfiguration(DataAccessOptions options) { Options = options; }