IRelType Methods |
The IRelType type exposes the following members.
| Name | Description | |
|---|---|---|
| AddObjType |
Add a new object type to a relationship role.
| |
| CreateAttrDef |
Creates an attribute definition.
| |
| CreateRelationship |
Creates a new relationship instance by connecting pObjectFrom with pObjectTo.
| |
| Destroy |
Deletes the relationship type. This method implicitly deletes all
relationship instances of this type.
| |
| GetAttrDefByName |
Retrieves an attribute definition.
| |
| GetAttrDefs |
Retrieves all attribute definitions of this relationship type.
| |
| GetPackage |
Retrieves the containig package.
| |
| GetRelatedTypes |
Retrieves all attached object types of one direction.
| |
| MoveToPackage |
Moves the relationship type to a different package. It is recommended that
the relationship type name is modified to reflect the new package membership.
| |
| RemoveObjType |
Remove an object type from a relationship role. Implicitly delete
relationship instances that become invalid.
| |
| SetAttrDefIndex |
Re-position a attribute definition within the relationship type.
| |
| SetAttrDefIndices |
Re-order all attribute definitions of the relationship type.
| |
| TryGetAttrDefByName |
Retrieves an attribute definition.
|