ArcGIS Pro 2.7 API Reference Guide
VirtualRelationshipClassDescription Constructor

ArcGIS.Core.Data Namespace > VirtualRelationshipClassDescription Class : VirtualRelationshipClassDescription Constructor
The Field corresponding to the field in the origin table to be used as the primary key.
The Field corresponding to the field in the destination table to be used as the foriegn key.
The RelationshipCardinality with which the relationship class is created.
Initializes a new instance of the VirtualRelationshipClassDescription class.
Syntax

Parameters

primaryKeyInOriginTable
The Field corresponding to the field in the origin table to be used as the primary key.
foreignKeyInDestinationTable
The Field corresponding to the field in the destination table to be used as the foriegn key.
cardinality
The RelationshipCardinality with which the relationship class is created.
Exceptions
ExceptionDescription
primaryKeyInOriginTable or foreignKeyInDestinationTable is null.
cardinality is not a field of RelationshipCardinality.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

VirtualRelationshipClassDescription Class
VirtualRelationshipClassDescription Members