Click or drag to resize

IRelType Methods

The IRelType type exposes the following members.

Methods
  NameDescription
Public methodAddObjType
Add a new object type to a relationship role.
Public methodCreateAttrDef
Creates an attribute definition.
Public methodCreateRelationship
Creates a new relationship instance by connecting pObjectFrom with pObjectTo.
Public methodDestroy
Deletes the relationship type. This method implicitly deletes all relationship instances of this type.
Public methodGetAttrDefByName
Retrieves an attribute definition.
Public methodGetAttrDefs
Retrieves all attribute definitions of this relationship type.
Public methodGetPackage
Retrieves the containig package.
Public methodGetRelatedTypes
Retrieves all attached object types of one direction.
Public methodMoveToPackage
Moves the relationship type to a different package. It is recommended that the relationship type name is modified to reflect the new package membership.
Public methodRemoveObjType
Remove an object type from a relationship role. Implicitly delete relationship instances that become invalid.
Public methodSetAttrDefIndex
Re-position a attribute definition within the relationship type.
Public methodSetAttrDefIndices
Re-order all attribute definitions of the relationship type.
Public methodTryGetAttrDefByName
Retrieves an attribute definition.
Top
See Also