Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 Schema info for User-defined Table Types

Author  Topic 

lostre
Starting Member

1 Post

Posted - 2010-07-19 : 08:59:21
Hi,

I have written a program which generates code for my DA Layer. I need to expand it so that I can create classes representing user-defined Table Types. So far I have been using the SqlConnection GetSchema() method (i.e. connection.GetSchema("Tables") will give me a list of the tables in a connected database). I've tried using .GetSchema("UserDefinedTypes") but with no luck -obviously. The online MS documentation talking about the available Schema collections does not mention anything about User-Defined Table Types collection...

Does anybody know where I can find information about this issue?

Thank you
   

- Advertisement -