IRelQueryTable Interface

Provides access to members that define the Tables and the RelationshipClass used in a join.

Members

Name Description
Read-only property DestinationTable The fields that appear on the right side of the join belong to the destination table.
Read-only property RelationshipClass Relationship class used in the table join.
Read-only property SourceTable The fields that appear on the left side of the join belong to the source table.

IRelQueryTable.DestinationTable Property

The fields that appear on the right side of the join belong to the destination table.

Public ReadOnly Property DestinationTable As ITable
public ITable DestinationTable {get;}

IRelQueryTable.RelationshipClass Property

Relationship class used in the table join.

Public ReadOnly Property RelationshipClass As IRelationshipClass
public IRelationshipClass RelationshipClass {get;}

IRelQueryTable.SourceTable Property

The fields that appear on the left side of the join belong to the source table.

Public ReadOnly Property SourceTable As ITable
public ITable SourceTable {get;}

Classes that implement IRelQueryTable

Classes Description
RelQueryTable An object that joins two datasets based on common data values.

Remarks

The IRelQueryTableinterface allows you to get the source and destination as well as the RelationshipClassor MemoryRelationshipClassused to define the RelQueryTable. The source and destination can be Tables, FeatureClasses, or even other RelQueryTables.

For example, if you wanted to join two tables to a feature class, you would first create RelQueryTableA to join one of the tables to the feature class. You would then create RelQueryTableB to join the second table to RelQueryTableA. RelQuerytableA would be the source for RelQueryTableB. The diagram below illustrates how this works.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.