ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data Namespace / RelationshipClassDefinition Class / IsComposite Method

In This Topic
    IsComposite Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also