Interface IRelQueryTable

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

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

[Guid("E9075692-7072-11D3-A11E-0000F8775BF9")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRelQueryTable

Remarks

The IRelQueryTable interface allows you to get the source and destination as well as the RelationshipClass or MemoryRelationshipClass used 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.

 

Properties

DestinationTable

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

ITable DestinationTable { get; }

Property Value

ITable

RelationshipClass

Relationship class used in the table join.

IRelationshipClass RelationshipClass { get; }

Property Value

IRelationshipClass

Remarks

<P>You can create a relationship class with either <STRONG>IRelationshipClassContainer </STRONG>or <STRONG>IFeatureWorkspace</STRONG>. <STRONG>RelationshipClass </STRONG>objects implement <STRONG>IDataset </STRONG>(useful for getting the name or the workspace), but note that they do not implement <STRONG>IClass </STRONG>(unless they are attributed). This is because a non-attributed relationship class does not have any fields of its own.</P>

SourceTable

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

ITable SourceTable { get; }

Property Value

ITable