Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/SqlClient.DesignTime/SqlClientExtensions.fs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ let internal providerTypes =
"ntext", (SqlDbType.NText, "System.String", false)
"nvarchar", (SqlDbType.NVarChar, "System.String", false)
"sysname", (SqlDbType.NVarChar, "System.String", false)
// SQL Server 2025 native json type. Microsoft.Data.SqlClient below 6.0 has no JSON TDS
// support, so the server sends these columns as nvarchar(max) over the wire.
"json", (SqlDbType.NVarChar, "System.String", false)

// binary
"binary", (SqlDbType.Binary, "System.Byte[]", false)
Expand Down