public DefaultConnectionStringResolver(IOptionsSnapshot <DbConnectionOptions> options) { options.CheckNotNull(nameof(options)); Options = options.Value; }