Compartilhar via


Propriedade do RDL ParentEntityId

Gets or sets the parent entity of whose members are being retrieved.

Namespace:  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (em Microsoft.MasterDataServices.dll)

Sintaxe

'Declaração
<DataMemberAttribute(EmitDefaultValue := False)> _
Public Property ParentEntityId As Identifier
    Get
    Set
'Uso
Dim instance As HierarchyMembersGetCriteria
Dim value As Identifier

value = instance.ParentEntityId

instance.ParentEntityId = value
[DataMemberAttribute(EmitDefaultValue = false)]
public Identifier ParentEntityId { get; set; }
[DataMemberAttribute(EmitDefaultValue = false)]
public:
property Identifier^ ParentEntityId {
    Identifier^ get ();
    void set (Identifier^ value);
}
[<DataMemberAttribute(EmitDefaultValue = false)>]
member ParentEntityId : Identifier with get, set
function get ParentEntityId () : Identifier
function set ParentEntityId (value : Identifier)

Valor da propriedade

Tipo: Microsoft.MasterDataServices. . :: . .Identifier
A new instance of type Identifier.

Comentários

For explicit hierarchies and collection members, the parent entity is required. For derived hierarchies, you need both entities if you are getting nodes under anything besides Root/null/blank/default.

The ParentEntityId will be the same as the child for standard hierarchies, but it will be different for derived hierarchies. For derived hierarchies, you can use the child entity returned for the prior level.