Udostępnij za pośrednictwem


Właściwość RelationshipHasTarget.Relationship —

Docelowej relacji DomainRole roli w relacji.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.DslDefinition
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (w Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Składnia

'Deklaracja
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Relationship.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Relationship.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Target", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Relationship.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.One)> _
<DomainObjectIdAttribute("8b21bf28-32f3-4a3a-bab7-0b2a5a2713d2")> _
Public Overrides NotOverridable Property Relationship As DomainRelationship
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Relationship.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Relationship.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Target", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget/Relationship.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.One)]
[DomainObjectIdAttribute("8b21bf28-32f3-4a3a-bab7-0b2a5a2713d2")]
public override sealed DomainRelationship Relationship { get; set; }

Wartość właściwości

Typ: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

RelationshipHasTarget Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling.DslDefinition