SqlClient: Allow specifying a UDT SqlParameter value via SqlBytes #28743
Labels
area-System.Data.SqlClient
enhancement
Product code improvement that does NOT require public API changes/additions
Milestone
Today, it's possible to read a UDT value as a SqlBytes object from SqlDataReader using GetSqlBytes.
Unfortunately, there is no way to specify a UDT value as a SqlBytes object in SqlParamter.
SqlBytes should be special cased in this codepath as a means of merely specifying the bytes to send to the server.
cc @ajcvickers @divega
The text was updated successfully, but these errors were encountered: