EntityRelationship Class
Autodesk.DataManagement.Client.Framework.Vault›Autodesk.DataManagement.Client.Framework.Vault.Currency.Entities
An object that describes a parent-child relationship between two entities
Syntax
public class EntityRelationship Public Class EntityRelationship Constructors
| Name | Description |
|---|---|
| EntityRelationship | Constructs an instance of a EntityRelationship object |
Properties
| Name | Description |
|---|---|
| Child | Gets the child in a parent-child relationship (ie. a part is a child of an assembly) |
| IsAttachment | Gets if the relationship was manually created by the user (ie. an attachment) as opposed to a dependency relationship where file A depends on file B |
| Key | Gets the key of this relationship, which is an identifier of this relationship. |
| Parent | Gets the parent in a parent-child relationship (ie. an assembly is a parent to a part) |
| RefId | Gets an ID that uniquely identifies the parent-child relationship |
| RelationshipType | An option string which identifies the type of relationship. It is often the name of the application that created the relationship. For example, in the case of an Assembly that is the parent of a Part, the relationshipType will be "INVENTOR" |
Inheritance Hierarchy
- System.Object
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Entities.EntityRelationship
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Entities.FileRelationship