Share via


ParentChild Class

Represents a parent-child relationship record from a hierarchy.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.ParentChild

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<DataContractAttribute(Name := "ParentChild", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class ParentChild _
    Inherits DataContractBase
'Usage
Dim instance As ParentChild
[DataContractAttribute(Name = "ParentChild", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class ParentChild : DataContractBase
[DataContractAttribute(Name = L"ParentChild", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class ParentChild : public DataContractBase
[<DataContractAttribute(Name = "ParentChild", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type ParentChild =  
    class 
        inherit DataContractBase 
    end
public class ParentChild extends DataContractBase

The ParentChild type exposes the following members.

Constructors

  Name Description
Public method ParentChild Initializes a new instance of the ParentChild class.

Top

Properties

  Name Description
Public property AttributeId Gets or sets the identifier for the attribute that is used to relate a member to its children, if any.
Public property AuditInfo Gets or sets the audit information related with the node relationship.
Public property Child Gets or sets the child member in the relationship.
Public property ChildEntityId Gets or sets the identifier of the child member’s entity.
Public property ChildPermission Gets or sets the security permission of the child node.
Public property NextRelationshipId Gets or sets the identifier for the object that defines the relationship between an item and its children.
Public property NextRelationshipType Gets or sets the hierarchy item type that defines how an item relates to its children.
Public property Parent Gets or sets the parent member in the relationship.
Public property ParentEntityId Gets or sets the identifier of the parent member’s entity that is associated with the parent node or the relationship.
Public property ParentPermission Gets or sets the security permission of the user for the parent member.
Public property RelationshipId Gets or sets the relationship identifier for the object that defines the relationship between an item and its parent.
Public property RelationshipType Gets or sets the relationship type.
Public property SortOrder Gets or sets the order of the child member among its siblings, relative to the parent.
Public property Weight Gets or sets the weight of the parent-child relationship.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetProperty<T> Infrastructure. Sets the property using the specified values. (Inherited from DataContractBase.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.MasterDataServices.Services.DataContracts Namespace