ArcGIS Pro 2.8 API Reference Guide
IsComposite Method

ArcGIS.Core.Data Namespace > RelationshipClassDefinition Class : IsComposite Method
Gets a value indicating whether the lifetime of the destination rows are dependent on the lifetime of the origin rows. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public bool IsComposite()
Public Function IsComposite() As Boolean

Return Value

true if the lifetime of the destination rows are dependent on the lifetime of the origin rows; otherwise, false.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Remarks

A composite relationship class is one where the origin table controls the lifetime of the destination table. This means that when the origin row is deleted the related destination row is also deleted.

A simple relationship is one where the relationships are considered to be peer to peer, that is, they are completely independent of each other. Simple relationships can be of any cardinality.

Composite relationship are not supported for RelationshipCardinality.ManyToMany and are natively RelationshipCardinality.OneToMany.

Only one composite relationship can be defined for a given destination table.

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

RelationshipClassDefinition Class
RelationshipClassDefinition Members