mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-17 01:25:40 -05:00
handle UDT type (#1424)
This commit is contained in:
@@ -182,7 +182,11 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.DataStorage
|
||||
else
|
||||
{
|
||||
Type type;
|
||||
if (!sqlDBTypeMap.TryGetValue(column.SqlDbType, out type))
|
||||
if (column.SqlDbType == SqlDbType.Udt)
|
||||
{
|
||||
type = column.DataType;
|
||||
}
|
||||
else if (!sqlDBTypeMap.TryGetValue(column.SqlDbType, out type))
|
||||
{
|
||||
type = typeof(SqlString);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user