The column type is the type of the UDT (such as Point).
SqlParameter can handle UDT value, what you need to do is to specify the SqlDbType as Udt and provide UdtTypename.
SqlParameter param = cmd.Parameters.Add("@p", SqlDbType.Udt); param.UdtTypeName = "dbo.Point";
This posting is provided "AS IS" with no warranties, and confers no rights. |