From 271cc6d5c88711dec9dade5d7b1690d94961136e Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Mon, 7 Oct 2024 19:25:51 +0200 Subject: [PATCH 1/2] Correct docs for DbConnection.State Fixes #10503 --- xml/System.Data.Common/DbConnection.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System.Data.Common/DbConnection.xml b/xml/System.Data.Common/DbConnection.xml index 8b7e65153e2..ed83fda1a42 100644 --- a/xml/System.Data.Common/DbConnection.xml +++ b/xml/System.Data.Common/DbConnection.xml @@ -1954,8 +1954,8 @@ This property returns `false` by default; providers that implement System.Data.ConnectionState - Gets a string that describes the state of the connection. - The state of the connection. The format of the string returned depends on the specific type of connection you are using. + Gets a value that describes the state of the connection. + The state of the connection, e.g. open or closed. To be added. ADO.NET Overview From 5896753d06d5c8b9a7e622cda906f585c6edb275 Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Wed, 9 Oct 2024 13:46:41 +0300 Subject: [PATCH 2/2] Update xml/System.Data.Common/DbConnection.xml Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com> --- xml/System.Data.Common/DbConnection.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Data.Common/DbConnection.xml b/xml/System.Data.Common/DbConnection.xml index ed83fda1a42..2d5a7b860f2 100644 --- a/xml/System.Data.Common/DbConnection.xml +++ b/xml/System.Data.Common/DbConnection.xml @@ -1955,7 +1955,7 @@ This property returns `false` by default; providers that implement Gets a value that describes the state of the connection. - The state of the connection, e.g. open or closed. + The state of the connection, for example, open or closed. To be added. ADO.NET Overview