Created
September 29, 2025 16:27
-
-
Save jskeet/f9cc90e8915d02d43406c3e02c6a6308 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.Data.SqlClient; | |
| SqlCommand sqlCommand = new SqlCommand(); | |
| sqlCommand.CommandText = "SELECT * FROM dbo.USERS"; | |
| sqlCommand.CommandType = System.Data.CommandType.Text; | |
| Console.WriteLine(sqlCommand.CommandText); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay, good to know about using .NET 2019. Can you post the project file as well? (Hopefully an SDK-style one?) That way there should be enough to reproduce the issue.