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
Copy file name to clipboardExpand all lines: src/Stravaig.Configuration.SqlServer/SourceBuilder.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,8 @@ public static SqlServerConfigurationSource BuildSource(IConfigurationBuilder bui
23
23
returnnewSqlServerConfigurationSource(
24
24
options.ConnectionString??thrownewSqlServerConfigurationProviderException("Cannot build a SQL Server Configuration Provider without a connection string."),
25
25
TimeSpan.FromSeconds(options.RefreshSeconds),
26
-
options.SchemaName,
27
-
options.TableName);
26
+
options.SchemaName??thrownewSqlServerConfigurationProviderException("The schema name is required to use SQL Server Configuration."),
27
+
options.TableName??thrownewSqlServerConfigurationProviderException("The table name is required to use SQL Server Configuration."));
0 commit comments