Provides access to members that get related object row pairs within a query filter specification.
| Description | ||
|---|---|---|
![]() |
AddRelationshipRule | Adds a relationship rule to this relationship class. |
![]() |
BackwardPathLabel | The backward path label for the relationship class. |
![]() |
Cardinality | The cardinality for the relationship class. |
![]() |
CreateRelationship | Creates a new relationship between the two specified objects. |
![]() |
DeleteRelationship | Deletes the relationship that associates the two specified objects. |
![]() |
DeleteRelationshipRule | Deletes a relationship rule from this relationship class. |
![]() |
DeleteRelationshipsForObject | Deletes all relationships that apply to a specified object. |
![]() |
DeleteRelationshipsForObjectSet | Deletes all relationships that apply to the specified origin or destination object set. |
![]() |
DestinationClass | The destination object class. |
![]() |
DestinationForeignKey | The relationship destination foreign Key. |
![]() |
DestinationPrimaryKey | The relationship destination primary Key. |
![]() |
FeatureDataset | The feature dataset, if any, to which this relationship class belongs. |
![]() |
ForwardPathLabel | The forward path label for the relationship class. |
![]() |
GetObjectsMatchingObjectArray | Gets rows pairs of objects that are related to the specified origin or destination object array, that also meet the query filter expression. |
![]() |
GetObjectsMatchingObjectSet | Gets rows pairs of objects that are related to the specified origin or destination object set. |
![]() |
GetObjectsMatchingObjectSetEx | Gets rows pairs of objects that are related to the specified origin or destination object set, that also meet the query filter expression. |
![]() |
GetObjectsRelatedToObject | Gets the objects that are related to the specified object. |
![]() |
GetObjectsRelatedToObjectSet | Gets the objects that are related to the specified origin or destination object set. |
![]() |
GetRelationship | Get the relationship that associates the two specified objects. |
![]() |
GetRelationshipsForObject | Get all relationships that apply to a specified object. |
![]() |
GetRelationshipsForObjectSet | Get all relationships that apply to the specified origin or destination object set. |
![]() |
IsAttributed | Indicates if the relationships in this relationship class have attributes. |
![]() |
IsComposite | Indicates if the relationship class represents a composite relationship in which the origin object class represents the composite object. |
![]() |
Notification | The notification direction for the relationship class. |
![]() |
OriginClass | The origin object class. |
![]() |
OriginForeignKey | The relationship origin foreign Key. |
![]() |
OriginPrimaryKey | The relationship origin primary Key. |
![]() |
RelationshipClassID | The relationship class ID. |
![]() |
RelationshipRules | The relationship rules that apply to this relationship class. |
| Interfaces | Description |
|---|---|
| IRelationshipClass | Provides access to members that return information about the relationship class, create relationships, relationship rules and get related objects. |
| CoClasses and Classes | Description |
|---|---|
| AttributedRelationshipClass | AttributedRelationshipClass Object. |
| MemoryRelationshipClass | A relationship class object the is stored in memory. |
| RelationshipClass | RelationshipClass Object. |
The IRelationshipClass2 interface was added to provide a method to get matching objects.
An AttributedRelationshipClass is a special kind of relationship class and is also a kind of table known as the relationship table. For non-attributed relationship classes, the relationships are stored with the objects themselves in the foreign key values. For attributed relationship classes, the relationships are defined by the objects in conjunction with the rows in the relationship table.
A good way of testing whether you have an AttributedRelationshipClass object is as follows.
If TypeOf pRelClass Is ITable Then Debug.Print
"Attributed Relationship Class"
End If
esriRelRole Constants | RelationshipClass Class | IRelationshipClassEvents Interface