You need to retrieve the value of a user-defined type that you have created using a CLR routine from a SQL Server database.
The following example creates, registers, and uses a user-defined type that defines a point—the UDT is called Point. Follow these steps:
Enable CLR integration by following the instructions in the Introduction to Chapter 12, if necessary.
Create a new SQL Server project in Visual Studio and name it ClrPointType. Press the Cancel button to dismiss the New Database Reference dialog that is...