Relationship Class

Class that contains the relationship information between two data structures.
Inheritance Hierarchy
SystemObject
  Dundas.BI.Data.MetadataDescriptorBase
    Dundas.BI.Data.RelationshipsRelationship

Namespace: Dundas.BI.Data.Relationships
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public class Relationship : DescriptorBase

The Relationship type exposes the following members.

Constructors
 NameDescription
Public methodRelationship Initializes a new instance of the Relationship class, as a user-defined relationship.
Top
Properties
 NameDescription
Public propertyCategory Gets the relationship category.
Public propertyDescription Gets or sets the object description.
(Inherited from DescriptorBase)
Public propertyId Gets the object ID.
(Inherited from DescriptorBase)
Public propertyJoinOperation Gets the relationship join operation type.
Public propertyKeys Gets the relationship keys.
Public propertyName Gets or sets the object name.
(Inherited from DescriptorBase)
Public propertyReferencedStructureId Gets the referenced structure ID.
Public propertyStructureId Gets the structure ID.
Top
Methods
 NameDescription
Public methodAddRelationshipKey(RelationshipKey) Adds a new relationship key to the current instance. The operation is allowed only if the relationship category is not Native. The category is subsequently changed automatically UserDefined.
Public methodAddRelationshipKey(String, String) Adds a new relationship key to the current instance. The operation is allowed only if the relationship category is not Native. The category is subsequently changed automatically UserDefined.
Public methodClearRelationshipKeys Clears the relationship keys from the current instance. The operation is allowed only if the relationship category is not Native.
Public methodGetKeyElementNames Gets the key element names for the specified structure ID.
Public methodRemoveRelationshipKey Removes the specified key from the current instance. The operation is allowed only if the relationship category is not Native.
Public methodToStringReturns a string that represents the current object.
(Inherited from DescriptorBase)
Top
See Also