Udostępnij za pośrednictwem


DomainRelationshipInfo Class

Definition

Represents a domain relationship.

public ref class DomainRelationshipInfo sealed : Microsoft::VisualStudio::Modeling::DomainClassInfo
[System.Diagnostics.DebuggerDisplay("DomainRelationship (Name = {name})")]
public sealed class DomainRelationshipInfo : Microsoft.VisualStudio.Modeling.DomainClassInfo
[<System.Diagnostics.DebuggerDisplay("DomainRelationship (Name = {name})")>]
type DomainRelationshipInfo = class
    inherit DomainClassInfo
Public NotInheritable Class DomainRelationshipInfo
Inherits DomainClassInfo
Inheritance
DomainRelationshipInfo
Attributes

Properties

AllDescendants

Gets a read-only list of all domain classes directly or indirectly derived form this one.

(Inherited from DomainClassInfo)
AllDomainProperties

Gets a read-only list of domain properties declared on this domain class or one of its ascendants.

(Inherited from DomainClassInfo)
AllDomainRolesPlayed

Gets a read-only list of all the domain roles played by this class or its ascendants.

(Inherited from DomainClassInfo)
AllEmbeddedByDomainRoles

Gets a read-only list of domain roles which embed this domain class.

(Inherited from DomainClassInfo)
AllowsDuplicates

Gets whether it's allowed to have multiple instances of this domain relationship between the same pair of elements.

BaseDomainClass

Gets domain class this domain class inherits from.

(Inherited from DomainClassInfo)
BaseDomainRelationship

Gets base domain relationship, if any.

DefaultDomainProperty

Gets the default property for this domain class.

(Inherited from DomainClassInfo)
DisplayName

Gets display name of this domain object.

(Inherited from DomainObjectInfo)
DomainModel

Gets domain model this domain class belongs to.

(Inherited from DomainClassInfo)
DomainRoles

Gets a read-only list of domain roles.

Id

Gets the ID of this domain object.

(Inherited from DomainObjectInfo)
ImplementationClass

Gets implementation type of this domain class.

(Inherited from DomainClassInfo)
IsEmbedding

Does the player of the source role logically contain the players of the target role in this relationship?

IsValidationEnabled

Gets whether constraint validation is enabled for this domain class.

(Inherited from DomainClassInfo)
LocalDescendants

Gets a read-only list of domain classes immediately derived from this one.

(Inherited from DomainClassInfo)
LocalDomainProperties

Gets a read-only list of domain properties declared in this domain class.

(Inherited from DomainClassInfo)
LocalDomainRolesPlayed

Gets a read-only list of domain roles played by this domain class.

(Inherited from DomainClassInfo)
Name

Gets the name of this domain object.

(Inherited from DomainObjectInfo)
NameDomainProperty

Gets element name property for this domain class, if it or one of its ascendants have defined one.

(Inherited from DomainClassInfo)

Methods

Equals(Object)

Equality is based on the Id of the DomainClassInfo object.

(Inherited from DomainClassInfo)
FindDomainProperty(String, Boolean)

Finds a domain property defined in this domain class.

(Inherited from DomainClassInfo)
FindDomainRole(String)

Finds a domain role by its name (searches base relationships as well).

GetHashCode()

Hashcode is based off the Id of this object

(Inherited from DomainClassInfo)
IsDerivedFrom(DomainClassInfo)

Returns true if this domain class is derived from the specified domain class.

(Inherited from DomainClassInfo)
IsDerivedFrom(Guid)

Returns true if this domain class is derived from the specified domain class specified.

(Inherited from DomainClassInfo)
ToString()

Gets string representing of this object.

(Inherited from DomainObjectInfo)

Applies to