.NET 4.0, Visual Studio 2010.
In MSSQL 2008, I have a simple Type table - a stored proc that takes TVP as a parameter. He works great in a management studio.
I created a new Linq-to-SQL constructor, earned my tables and processed on the design surface, everything worked fine.
Then I tried to drag the stored procedure with the table parameter to the design surface and got this red-X error:
UdtTypeName property must be set for UDT parameters.
What did I miss?
Snowy source
share