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: .github/copilot-instructions.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@ This project includes several key products and libraries that facilitate SQL Ser
50
50
-**Data Encryption**: Supports data encryption for secure data transmission.
51
51
-**Logging and Diagnostics**: Provides event source tracing diagnostic capabilities for troubleshooting.
52
52
-**Failover Support**: Handles automatic failover scenarios for high availability.
53
+
- Compatibility switch: `Switch.Microsoft.Data.SqlClient.UseLegacyFailoverAlternationOnLoginSqlErrors` (default `false`) can restore legacy alternation behavior in `LoginWithFailover` for login-phase SQL errors.
53
54
-**Cross-Platform Support**: Compatible with both .NET Framework and .NET Core, allowing applications to run on Windows, Linux, and macOS.
54
55
-**Column Encryption AKV Provider**: Supports Azure Key Vault (AKV) provider for acquiring keys from Azure Key Vault to be used for encryption and decryption.
|`Switch.Microsoft.Data.SqlClient.EnableMultiSubnetFailoverByDefault`|`false`| Sets `MultiSubnetFailover=true` as the default for all connections |
247
247
|`Switch.Microsoft.Data.SqlClient.EnableUserAgent`| varies | Controls sending user agent information to SQL Server |
248
248
|`Switch.Microsoft.Data.SqlClient.IgnoreServerProvidedFailoverPartner`|`false`| Ignores failover partner information sent by the server |
249
+
|`Switch.Microsoft.Data.SqlClient.UseLegacyFailoverAlternationOnLoginSqlErrors`|`false`| Restores legacy `LoginWithFailover` alternation for login-phase SQL errors when parser state is not `Closed`|
249
250
|`Switch.Microsoft.Data.SqlClient.LegacyRowVersionNullBehavior`|`false`| Restores legacy null handling for rowversion columns |
250
251
|`Switch.Microsoft.Data.SqlClient.LegacyVarTimeZeroScaleBehaviour`|`false`| Restores legacy zero-scale behavior for time/datetime2/datetimeoffset |
251
252
|`Switch.Microsoft.Data.SqlClient.MakeReadAsyncBlocking`|`false`| Makes ReadAsync behave synchronously (legacy compat) |
0 commit comments