Partager via


RelationshipHasSource.Relationship, propriété

Rôle source de la relation DomainRole Relationship.

Espace de noms :  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (dans Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntaxe

'Déclaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasSource/Relationship.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasSource/Relationship.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Source", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasSource/Relationship.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.One)> _
<DomainObjectIdAttribute("969162f1-32f5-42da-8571-515ce53a09a7")> _
Public Overrides NotOverridable Property Relationship As DomainRelationship
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasSource/Relationship.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasSource/Relationship.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Source", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasSource/Relationship.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.One)]
[DomainObjectIdAttribute("969162f1-32f5-42da-8571-515ce53a09a7")]
public override sealed DomainRelationship Relationship { get; set; }

Valeur de propriété

Type : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship

Sécurité .NET Framework

Voir aussi

Référence

RelationshipHasSource Classe

Microsoft.VisualStudio.Modeling.DslDefinition, espace de noms