GetSchema from multiple tables

  • Thread starter Thread starter banana boy
  • Start date Start date
B

banana boy

I'm using .net 2 and the getschema function to get database schema.
This is the code i'm using to get the schema. How do i get schema for
multiple tables at once using the same code

restrictions(0) = database
restrictions(1) = owner
restrictions(2) = table

newTable = dbConnection.GetSchema("columns", restrictions)
 
Hi there,

I am not 100% sure but I don't think you can filter per more tables.
Thus omit restriction(2) and filter data on client.
 
Back
Top