title: LINQ to SQL with stored procedures and user defined table type parameter
body: <p>I am using LINQ to SQL with stored procedures in SQL Server 2008. Everything work well except one problem. L2S cannot generate the method for the stored procedure with user defined table type as parameter. 
  Method signature in dbml design panel use object for parameter type instead of table type and when I tried to compile I got error:</p>
  
  <pre><code>Error: DBML1005: Mapping between DbType 'Structured' and
  Type 'System.Object' in Parameter 'ParaName' of Function 'dbo.StoredProcName'
  is not supported. 
  </code></pre>
  
  <p>Is there a way to work around this of this problem? I don't want to go back to traditional ADO.NET data access.</p>