You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
descriptionLog.OriginalMessage.ShouldBe("SQL Server Configuration Provider will retrieve from [{serverName}].[{databaseName}].[{schemaName}].[{tableName}] {frequency}. Will wait {connectionTimeout} seconds to connect, and {commandTimeout} seconds to retrieve data.");
descriptionLog.OriginalMessage.ShouldBe("SQL Server Configuration Provider will retrieve from [{serverName}].[{databaseName}].[{schemaName}].[{tableName}] {frequency}. Will wait {connectionTimeout} seconds to connect, and {commandTimeout} seconds to retrieve data.");
warningLog.OriginalMessage.ShouldBe("The refresh interval, {refreshInterval} seconds, should be greater than combined connection, {connectionTimeout} seconds, and command, {commandTimeout} seconds, timeouts. A new refresh cycle may start before the previous cycle is complete.");
Message="SQL Server Configuration Provider will retrieve from [{serverName}].[{databaseName}].[{schemaName}].[{tableName}] {frequency}. Will wait {connectionTimeout} seconds to connect, and {commandTimeout} seconds to retrieve data.")]
Message="The refresh interval, {refreshInterval} seconds, should be greater than combined connection, {connectionTimeout} seconds, and command, {commandTimeout} seconds, timeouts. A new refresh cycle may start before the previous cycle is complete.")]
options.ConnectionString??thrownewSqlServerConfigurationProviderException("Cannot build a SQL Server Configuration Provider without a connection string."),
25
-
options.IsLoggerExpected,
26
-
TimeSpan.FromSeconds(options.RefreshSeconds),
27
-
options.SchemaName??thrownewSqlServerConfigurationProviderException("The schema name is required to use SQL Server Configuration."),
28
-
options.TableName??thrownewSqlServerConfigurationProviderException("The table name is required to use SQL Server Configuration."));
24
+
connectionString:options.ConnectionString??thrownewSqlServerConfigurationProviderException("Cannot build a SQL Server Configuration Provider without a connection string."),
0 commit comments