Link to home
Start Free TrialLog in
Avatar of Alexandre Simões
Alexandre SimõesFlag for Switzerland

asked on

Get table relations using DbConnection.GetSchema

Hi...

Is it possible to get the tables relations using the DbConnection.GetSchema?

I'm able to get everything else I need except the relations.

I can list the foreignkeys using: Connection.GetSchema("ForeignKeys");

And the available options I think I have are:
MetaDataCollections
DataSourceInformation
DataTypes
Restrictions
ReservedWords
Users
Databases
Tables
Columns
StructuredTypeMembers
Views
ViewColumns
ProcedureParameters
Procedures
ForeignKeys
IndexColumns
Indexes
UserDefinedTypes


Is it possible?

Thanks,
Alex
ASKER CERTIFIED SOLUTION
Avatar of Dmitry G
Dmitry G
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial