ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / CreateEx Method / CreateEx(Table,KnowledgeGraphRelationshipDescription) Method
The relationship table representing an association between two entities in a knowledge graph.
A description of the relationship to create.

In This Topic
    CreateEx(Table,KnowledgeGraphRelationshipDescription) Method
    In This Topic
    Creates a new relationship between the two specified entities in the KnowledgeGraphRelationshipDescription.
    Syntax

    Parameters

    relationshipTable
    The relationship table representing an association between two entities in a knowledge graph.
    relationshipDescription
    A description of the relationship to create.

    Return Value

    A RowToken object that represents the row to be created.
    Exceptions
    ExceptionDescription
    relationshipTable cannot be null.
    relationshipDescription cannot be null.
    The relationshipTable is either not part of a Knowledge Graph or not a Knowledge Graph relate type.
    Remarks
    The Create method creates a relationship between the origin entity and the destination entity specified in the RelationshipDescription.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also