Alexandre Simões
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("Fore ignKeys");
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
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("Fore
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.