DerivedHierarchyLevel Class

Definition

A single level within the derived hierarchy data relationship tree.

public ref class DerivedHierarchyLevel sealed : Microsoft::MasterDataServices::Services::DataContracts::MetadataDataContract<Microsoft::MasterDataServices::Services::DataContracts::DerivedHierarchyContextIdentifier ^>
[System.Runtime.Serialization.DataContract(Name="DerivedHierarchyLevel", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public sealed class DerivedHierarchyLevel : Microsoft.MasterDataServices.Services.DataContracts.MetadataDataContract<Microsoft.MasterDataServices.Services.DataContracts.DerivedHierarchyContextIdentifier>
[<System.Runtime.Serialization.DataContract(Name="DerivedHierarchyLevel", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type DerivedHierarchyLevel = class
    inherit MetadataDataContract<DerivedHierarchyContextIdentifier>
Public NotInheritable Class DerivedHierarchyLevel
Inherits MetadataDataContract(Of DerivedHierarchyContextIdentifier)
Inheritance
Attributes

Remarks

The DerivedHierarchyLevel complex type specifies a single level within the derived hierarchy data relationship tree.

Constructors

DerivedHierarchyLevel()

Initializes a new instance of the DerivedHierarchyLevel class.

Properties

AccessPermission

Specifies the AccessPermission.

(Inherited from MetadataDataContract<TIdType>)
AuditInfo

Specifies the AuditInfo.

(Inherited from MetadataDataContract<TIdType>)
DisplayName

Specifies the display name.

EntityId

Specifies the entity Id. Members of this level pertain to this entity. This property is read-only, and is provided for convenience when loading hierarchy members. Its value is inferred from ForeignId and ForeignType for metadata get operations, and ignored for save operations.

ForeignEntityId

Specifies the foreign entity Id.

ForeignId

Specifies the foreign Id.

ForeignType

The type of object that is specified in the ForeignId.

Identifier

Specifies the Identifier.

(Inherited from MetadataDataContract<TIdType>)
IsRecursive

Specifies whether the level has a recursive relationship.

IsVisible

Specifies whether the level is visible within the derived hierarchy.

LevelNumber

Specifies the depth of the level. Is zero-based and runs from hierarchy top to bottom.

ManyToManyChildAttributeId

When ForeignType is ManyToMany, specifies the ID of the domain-based attribute on the mapping entity (referenced by ForeignEntityId) that references the child, while ForeignId specifies the parent domain-based attribute.

MemberType

Specifies the MemberType.

Permission

Specifies the Permission.

(Inherited from MetadataDataContract<TIdType>)

Methods

SetProperty<T>(T, T, String)

Changes the property to the given value.
Returns whether the new value is different from the old value.

(Inherited from DataContractBase)
SetProperty<T>(T, T, String, Boolean)

Changes the property to the given value.
Returns whether the new value is different from the old value.

(Inherited from DataContractBase)

Applies to

See also