Send feedback on this topic.
Teradata.Client.Provider
Entity Table Foreign Keys Schema
.NET Data Provider for Teradata > Developer's Guide > ADO.NET Entity Provider for Teradata > Entity Provider Store Schemas > Entity Provider Store Schema Collection > Entity Table Foreign Keys Schema
.NET CORE   This feature is not supported by the .NET Core implementation of the Data Provider.

The Table Foreign Keys schema returns information about the foreign key of a TABLE object by accessing Teradata database Data Dictionary views. It will access DBC.All_RI_PARENTS[V] or DBC.All_RI_PARENTS[V]X Data Dictionary view based on UseXViews Connection setting.

Column Name Data Type Description
Id String Returns a unique Id for the FOREIGN KEY constraint.
Ordinal Int32 Returns the position of the constraint.