Skip to content

Commit cd2b250

Browse files
Learn Build Service GitHub AppLearn Build Service GitHub App
authored andcommitted
Merging changes synced from https://github.com/MicrosoftDocs/sql-docs-pr (branch live)
2 parents 4454d60 + f5f6da4 commit cd2b250

File tree

87 files changed

+696
-628
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+696
-628
lines changed

docs/connect/ado-net/add-existing-constraints-to-dataset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dev_langs:
1212
---
1313
# Add existing constraints to a DataSet
1414

15-
[!INCLUDE[appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
15+
[!INCLUDE [dotnet-all](../../includes/products/applies-full/dotnet-all.md)]
1616

1717
[!INCLUDE[Driver_ADONET_Download](../../includes/driver_adonet_download.md)]
1818

docs/connect/ado-net/appcontext-switches.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,17 @@ dev_langs:
1111
- "csharp"
1212
ms.custom: sfi-ropc-nochange
1313
---
14-
# AppContext switches in Sqlclient
14+
# AppContext switches in SqlClient
15+
16+
[!INCLUDE [dotnet-all](../../includes/products/applies-full/dotnet-all.md)]
1517

1618
[!INCLUDE [Driver_ADONET_Download](../../includes/driver_adonet_download.md)]
1719

1820
The AppContext class allows SqlClient to provide new functionality while continuing to support callers who depend on the previous behavior. Users can opt out of a change in behavior by setting specific AppContext switches.
1921

2022
## Enabling decimal truncation behavior
2123

22-
[!INCLUDE [appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
24+
[!INCLUDE [dotnet-all](../../includes/products/applies-plain/dotnet-all.md)]
2325

2426
Starting with Microsoft.Data.SqlClient 2.0, decimal data is rounded by default, as is done by SQL Server. To enable the previous behavior of truncation, you can set the AppContext switch **"Switch.Microsoft.Data.SqlClient.TruncateScaledDecimal"** to `true` at application startup:
2527

@@ -29,7 +31,7 @@ AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.TruncateScaledDecimal", tr
2931

3032
## Enabling managed networking on Windows
3133

32-
[!INCLUDE [appliesto-xxxx-netcore-netst-md](../../includes/appliesto-xxxx-netcore-netst-md.md)]
34+
[!INCLUDE [dotnet-modern](../../includes/products/applies-plain/dotnet-modern.md)]
3335

3436
(Available starting with version 2.0)
3537

@@ -46,7 +48,7 @@ This switch toggles the driver's behavior to use a managed networking implementa
4648
4749
## Disabling Transparent Network IP Resolution
4850

49-
[!INCLUDE [appliesto-netfx-xxxx-xxxx-md](../../includes/appliesto-netfx-xxxx-xxxx-md.md)]
51+
[!INCLUDE [dotnet-framework-only](../../includes/products/applies-plain/dotnet-framework-only.md)]
5052

5153
Transparent Network IP Resolution (TNIR) is a revision of the existing MultiSubnetFailover feature. TNIR affects the connection sequence of the driver in the case where the first resolved IP of the hostname doesn't respond and there are multiple IPs associated with the hostname. TNIR interacts with MultiSubnetFailover to provide the following three connection sequences:
5254

@@ -71,7 +73,7 @@ For more information about setting these properties, see the documentation for [
7173

7274
## Enable a minimum timeout during login
7375

74-
[!INCLUDE [appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
76+
[!INCLUDE [dotnet-all](../../includes/products/applies-plain/dotnet-all.md)]
7577

7678
To prevent a login attempt from waiting indefinitely, you can set the AppContext switch **Switch.Microsoft.Data.SqlClient.UseOneSecFloorInTimeoutCalculationDuringLogin** to `true` at application startup:
7779

@@ -81,7 +83,7 @@ AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.UseOneSecFloorInTimeoutCal
8183

8284
## Disable blocking behavior of ReadAsync
8385

84-
[!INCLUDE [appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
86+
[!INCLUDE [dotnet-all](../../includes/products/applies-plain/dotnet-all.md)]
8587

8688
Starting in version 3.0, ReadAsync runs asynchronously. Previous versions run ReadAsync synchronously and block the calling thread on .NET Framework. To control this blocking behavior, you can set the AppContext switch **Switch.Microsoft.Data.SqlClient.MakeReadAsyncBlocking** to `true` or `false` at application startup:
8789

@@ -91,7 +93,8 @@ AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.MakeReadAsyncBlocking", fa
9193

9294
## Enabling rowversion null behavior
9395

94-
[!INCLUDE [appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
96+
[!INCLUDE [dotnet-all](../../includes/products/applies-plain/dotnet-all.md)]
97+
9598
Starting in version 3.0, when a rowversion has a value of null, `SqlDataReader` returns a `DBNull` value instead of an empty `byte[]`. To enable the legacy behavior of returning an empty `byte[]`, enable the AppContext switch **Switch.Microsoft.Data.SqlClient.LegacyRowVersionNullBehavior** on application startup.
9699

97100
```csharp
@@ -100,7 +103,7 @@ AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.LegacyRowVersionNullBehavi
100103

101104
## Suppress insecure TLS warning
102105

103-
[!INCLUDE [appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
106+
[!INCLUDE [dotnet-all](../../includes/products/applies-plain/dotnet-all.md)]
104107

105108
(Available starting with version 4.0.1)
106109

@@ -111,7 +114,8 @@ AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.SuppressInsecureTLSWarning
111114
```
112115

113116
## Ignore Server Provided Failover Partner
114-
[!INCLUDE [appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
117+
118+
[!INCLUDE [dotnet-all](../../includes/products/applies-plain/dotnet-all.md)]
115119

116120
(Available starting with versions 5.1.8, 6.0.4, and 6.1.3)
117121

docs/connect/ado-net/asynchronous-programming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.topic: conceptual
1010
---
1111
# Asynchronous programming
1212

13-
[!INCLUDE[appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
13+
[!INCLUDE [dotnet-all](../../includes/products/applies-full/dotnet-all.md)]
1414

1515
[!INCLUDE[Driver_ADONET_Download](../../includes/driver_adonet_download.md)]
1616

docs/connect/ado-net/batch-operations-using-dataadapters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dev_langs:
1212
---
1313
# Batch operations using DataAdapters
1414

15-
[!INCLUDE[appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
15+
[!INCLUDE [dotnet-all](../../includes/products/applies-full/dotnet-all.md)]
1616

1717
[!INCLUDE[Driver_ADONET_Download](../../includes/driver_adonet_download.md)]
1818

docs/connect/ado-net/commands-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.topic: conceptual
1010
---
1111
# Commands and parameters
1212

13-
[!INCLUDE[appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
13+
[!INCLUDE [dotnet-all](../../includes/products/applies-full/dotnet-all.md)]
1414

1515
[!INCLUDE[Driver_ADONET_Download](../../includes/driver_adonet_download.md)]
1616

docs/connect/ado-net/common-schema-collections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.topic: conceptual
1010
---
1111
# Common schema collections
1212

13-
[!INCLUDE[appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
13+
[!INCLUDE [dotnet-all](../../includes/products/applies-full/dotnet-all.md)]
1414

1515
[!INCLUDE[Driver_ADONET_Download](../../includes/driver_adonet_download.md)]
1616

docs/connect/ado-net/configurable-retry-logic-config-file-sqlclient.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.topic: conceptual
1111
---
1212
# Configurable retry logic configuration file with SqlClient
1313

14-
[!INCLUDE[appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
14+
[!INCLUDE [dotnet-all](../../includes/products/applies-full/dotnet-all.md)]
1515

1616
[!INCLUDE[Driver_ADONET_Download](../../includes/driver_adonet_download.md)]
1717

docs/connect/ado-net/configurable-retry-logic-core-apis-sqlclient.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.topic: conceptual
1111
---
1212
# Configurable retry logic core APIs in SqlClient
1313

14-
[!INCLUDE[appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
14+
[!INCLUDE [dotnet-all](../../includes/products/applies-full/dotnet-all.md)]
1515

1616
[!INCLUDE[Driver_ADONET_Download](../../includes/driver_adonet_download.md)]
1717

docs/connect/ado-net/configurable-retry-logic-sqlclient-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.topic: conceptual
1111
---
1212
# Configurable retry logic in SqlClient introduction
1313

14-
[!INCLUDE[appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
14+
[!INCLUDE [dotnet-all](../../includes/products/applies-full/dotnet-all.md)]
1515

1616
[!INCLUDE[Driver_ADONET_Download](../../includes/driver_adonet_download.md)]
1717

docs/connect/ado-net/configurable-retry-logic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.topic: conceptual
1111
---
1212
# Configurable retry logic in SqlClient
1313

14-
[!INCLUDE[appliesto-netfx-netcore-netst-md](../../includes/appliesto-netfx-netcore-netst-md.md)]
14+
[!INCLUDE [dotnet-all](../../includes/products/applies-full/dotnet-all.md)]
1515

1616
[!INCLUDE[Driver_ADONET_Download](../../includes/driver_adonet_download.md)]
1717

0 commit comments

Comments
 (0)