Retrieving Foreign key schema with da.FillSchema. Is it possible?

  • Thread starter Thread starter A.Neves
  • Start date Start date
A

A.Neves

Hi,


I'd like to retrieve database schema using OleDbDataadapter.FillSchema, but
I couldn't find how to retrieve foreign Keys. Is It Possible? How?


Any help would be very much apreciated. Thanks.
 
I do not know if schema fills that much even on SQLServer.
Try for SQLServer sp_fkeys, if you use other database tell and you will get
the apropiate catalog view
 
Back
Top