DomainRelationshipInfo Class
Represents the metadata about a domain relationship.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.DomainObjectInfo
Microsoft.VisualStudio.Modeling.DomainClassInfo
Microsoft.VisualStudio.Modeling.DomainRelationshipInfo
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Public NotInheritable Class DomainRelationshipInfo _
Inherits DomainClassInfo
public sealed class DomainRelationshipInfo : DomainClassInfo
public ref class DomainRelationshipInfo sealed : public DomainClassInfo
[<Sealed>]
type DomainRelationshipInfo =
class
inherit DomainClassInfo
end
public final class DomainRelationshipInfo extends DomainClassInfo
The DomainRelationshipInfo type exposes the following members.
Properties
Name | Description | |
---|---|---|
AllDescendants | Gets a list of all domain classes derived from this class. (Inherited from DomainClassInfo.) | |
AllDomainProperties | Gets a list of domain properties declared on this domain class. (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 list of domain roles which embed this domain class. (Inherited from DomainClassInfo.) | |
AllowsDuplicates | Gets whether multiple instances of this domain relationship are allowed between the same pair of elements. | |
BaseDomainClass | Gets the domain class that this domain class inherits from. (Inherited from DomainClassInfo.) | |
BaseDomainRelationship | Gets the base domain relationship, if any. | |
DefaultDomainProperty | Gets the default domain property for this domain class. (Inherited from DomainClassInfo.) | |
DisplayName | Gets the display name of the element. (Inherited from DomainObjectInfo.) | |
DomainModel | Gets the domain model that this domain class belongs to. (Inherited from DomainClassInfo.) | |
DomainRoles | Gets a read-only list of the domain roles for this relationship. | |
Id | Gets the ID of the element. (Inherited from DomainObjectInfo.) | |
ImplementationClass | Gets the implementation type of this domain class. (Inherited from DomainClassInfo.) | |
IsEmbedding | Gets whether the player of the source role logically contains the players of the target role. | |
IsValidationEnabled | Gets whether validation is enabled for this domain class. (Inherited from DomainClassInfo.) | |
LocalDescendants | Gets a list of domain classes derived directly from this class. (Inherited from DomainClassInfo.) | |
LocalDomainProperties | Gets a list of the domain properties declared in this domain class. (Inherited from DomainClassInfo.) | |
LocalDomainRolesPlayed | Gets a list of the domain roles played by this domain class. (Inherited from DomainClassInfo.) | |
Name | Gets the name of the element. (Inherited from DomainObjectInfo.) | |
NameDomainProperty | Gets the element name property for this domain class. (Inherited from DomainClassInfo.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Equality is based on the ID of the DomainClassInfo object. (Inherited from DomainClassInfo.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindDomainProperty | Finds a domain property that is defined in this domain class. (Inherited from DomainClassInfo.) | |
FindDomainRole | Finds a domain role by name. | |
GetHashCode | Hashcode is based on the ID of this object (Inherited from DomainClassInfo.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsDerivedFrom(Guid) | Indicates whether this domain class is derived from a specified domain class. (Inherited from DomainClassInfo.) | |
IsDerivedFrom(DomainClassInfo) | Indicates whether this domain class is derived from a specified domain class. (Inherited from DomainClassInfo.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Converts the element to a string. (Inherited from DomainObjectInfo.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.