Click or drag to resize

IRelType Interface

Represents an relationship type. Every relationship managed by ice.NET conforms to exactly one relationship type at any specific point of time. The relationship type serves as a factory for any relationship instances of this type.

Namespace:  PDTec.IceNet.Core.Model
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public interface IRelType

The IRelType type exposes the following members.

Properties
  NameDescription
Public propertyCardinalityFrom
The cardinality of the From role.
Public propertyCardinalityTo
The cardinality of the To role.
Public propertyDescription
The relationship type description. The description can be empty.
Public propertyDescriptionFrom
The description of the From role.
Public propertyDescriptionTo
The description of the To role.
Public propertyDisplayName
The display name.
Public propertyId
The relationship type ID. The ID is generated by the platform and cannot be modified.
Public propertyIsOrderedFrom
Indicates if the relationship instances of the From role are ordered.
Public propertyIsOrderedTo
Indicates if the relationship instances of the To role are ordered.
Public propertyIsValid
Indicates if the relationship type instance is valid. The relationship type becomes invalid if the Destroy method has been called or the package is deleted.
Public propertyName
The relationship type name. The name must be unique within the system context and must follow the QName convention. It is recommended that the relationship type name contains the package name prefix.
Public propertyPackage
Gets the containing package.
Top
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