Convert SQL Server Table-Valued parameter to C# data access wrapper
<p>Using Codesmith 7, I'm trying to generate a C# data access wrapper. The table-valued parameters only show up as <code>object</code> in DataType and SystemType.</p>

<p>It boils down to two issues:</p>

<ol>
<li><p>Is there a way of accessing the user defined table type through Codesmith?
(so that I can generate a C# datatable with columns prefilled)</p></li>
<li><p>Is there a way of ascertaining that the parameter is a user defined table type, and so I can set the public/private properties to DataTable instead of object?</p></li>
</ol>