Skip to content

Conversation

David-Engel
Copy link
Contributor

@David-Engel David-Engel commented Jul 17, 2025

Fixes #11583

Type of issue

Typo

Description

The example used for SqlCommand(String) has the following description:

"The following example creates a SqlCommand, passing in the connection string and command text."

The problem is the lack of a connection string in the example. How should the the connection string be provided in this example? I assume the proper description would be:

"The following example creates a SqlCommand, passing in the command text."

Copy link
Contributor

Tagging subscribers to this area: @cheenamalhotra, @David-Engel

@David-Engel David-Engel enabled auto-merge July 17, 2025 21:21
@David-Engel David-Engel merged commit e494b59 into main Jul 21, 2025
6 checks passed
@David-Engel David-Engel deleted the David-Engel-patch-1 branch July 21, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SqlCommand(String) overload example description is bad. A connection string is not passed in.
2 participants