Share via


HierarchyMembersGetCriteria.ParentEntityId Property

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

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

Syntax

'Declaration
<DataMemberAttribute(EmitDefaultValue := False)> _
Public Property ParentEntityId As Identifier
    Get
    Set
'Usage
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)

Property Value

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

Remarks

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.

See Also

Reference

HierarchyMembersGetCriteria Class

Microsoft.MasterDataServices Namespace