I am implementing a C# application which should extract from the sql server the metadata for all tables in the specific database.
Such question was already asked - it was required to do that from sql - SQL Server meta data table and column descrption . I don`t want to run any queries.
Does C# has a API for that?
There is a following approach : http://msdn.microsoft.com/en-us/library/ms254934(v=vs.110).aspx
Does the link above solve what I want to do?
In the example from the link - I get only one table? (but my requests is all database tables)as well where do I specify user credentials and database name?
Also I didn't find any reference about the performance of such execution?
For me it looks that it should be very effective to retrieve the schema if we really read only metadata from some source without executing a query