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)

[DataMemberAttribute(EmitDefaultValue = false)]
public Identifier ParentEntityId { get; set; }

Property Value

Type: Microsoft.MasterDataServices.Identifier

A new instance of type Identifier.

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.

Return to top
Show: