RelationshipHasRoles.Relationship (Propiedad)
Roles de DomainRole Relación de la relación.debe haber exactamente dos.
Espacio de nombres: Microsoft.VisualStudio.Modeling.DslDefinition
Ensamblado: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (en Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Sintaxis
'Declaración
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasRoles/Relationship.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasRoles/Relationship.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Roles", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasRoles/Relationship.PropertyDisplayName", _
PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, _
Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("c5e8bd00-1f3c-454a-bf6b-71d348f22564")> _
Public MustOverride Property Relationship As DomainRelationship
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasRoles/Relationship.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasRoles/Relationship.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Roles", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasRoles/Relationship.PropertyDisplayName",
PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,
Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("c5e8bd00-1f3c-454a-bf6b-71d348f22564")]
public abstract DomainRelationship Relationship { get; set; }
Valor de propiedad
Tipo: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.VisualStudio.Modeling.DslDefinition (Espacio de nombres)