Condividi tramite


Proprietà ParentEntityId

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

Spazio dei nomi  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (in Microsoft.MasterDataServices.dll)

Sintassi

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

Valore proprietà

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

Osservazioni

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.