I tried this and got an exception:
The table type parameter "@MyDataType" must have a valid type name.
I had to set the TypeName property for SqlParameter:
parameter.TypeName = "MyDataType";
Matt Martin Apr 08 '14 at 21:30 2014-04-08 21:30
source share