Compartir a través de


RoleHasRolePlayer.Role (Propiedad)

DomainRole Role Clase del elemento que desempeña este rol en la relación.

Espacio de nombres:  Microsoft.VisualStudio.Modeling.DslDefinition
Ensamblado:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (en Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Sintaxis

'Declaración
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "RolePlayer",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
<DomainObjectIdAttribute("08bcb6a8-166e-4a59-ae82-79203e6545d7")> _
Public Property Role As DomainRole
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "RolePlayer", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
[DomainObjectIdAttribute("08bcb6a8-166e-4a59-ae82-79203e6545d7")]
public DomainRole Role { get; set; }

Valor de propiedad

Tipo: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

Seguridad de .NET Framework

Vea también

Referencia

RoleHasRolePlayer Clase

Microsoft.VisualStudio.Modeling.DslDefinition (Espacio de nombres)