ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.DDL.Knowledge Namespace / KnowledgeGraphRelationshipTypeDescription Class / KnowledgeGraphRelationshipTypeDescription Constructor / KnowledgeGraphRelationshipTypeDescription Constructor(TableDefinition)
The table definition to use for the description object
Version

KnowledgeGraphRelationshipTypeDescription Constructor(TableDefinition)
Construct a KnowledgeGraphRelationshipTypeDescription with the given ArcGIS.Core.Data.TableDefinition. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public KnowledgeGraphRelationshipTypeDescription( 
   TableDefinition tableDefinition
)

Parameters

tableDefinition
The table definition to use for the description object
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
The fields of the table definition will be used to initialize the property description collection for the description object. If a FeatureClassDefinition is used then a shape definition property will also be added (to the description object). The spatial reference of any spatial column in the input definition must match the spatial reference of the knowledge graph being used with the ArcGIS.Core.Data.DDL.SchemaBuilder. See ArcGIS.Core.Data.Knowledge.KnowledgeGraph.GetSpatialReference.
Note: A GlobalID property description will automatically be added to the description object when it is passed to the ArcGIS.Core.Data.DDL.SchemaBuilder if a GlobalID was not included in the fields collection of the input TableDefinition. The underlying origin and destination entity id fields present on all relationship types will also be automatically be added (if they are missing also).
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.4 or higher.
See Also