This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Classes > R > RelationshipClass Class (ArcObjects .NET 10.4 SDK) |
Esri Relationship Class object.
RelationshipClass is a non-creatable object. References to non-creatable objects must be obtained through other objects.
Interfaces | Description |
---|---|
IDataset | Provides access to members that supply dataset information. |
IRelationshipClass | Provides access to members that return information about the relationship class, create relationships, relationship rules and get related objects. |
IRelationshipClass2 | Provides access to members that get related object row pairs within a query filter specification. |
IRelClassSchemaEdit | Provides access to members that modify a relationship class's properties. |
You can create a relationship class with either IRelationshipClassContainer or IFeatureWorkspace. RelationshipClass objects implement IDataset (useful for getting the name or the workspace), but note that they do not implement IClass (unless they are attributed). This is because a non-attributed relationship class does not have any fields of its own.
IRelationshipClass Interface | IRelationshipClassContainer Interface