isComposite property

bool isComposite

Whether this is a composite relationship.

In a composite relationship, a feature in the destination table must always be associated with an origin feature. Orphan features in the destination tables are not permitted. Therefore, destination table features will be deleted when their associated origin table features are deleted (this is called a cascade delete).

Implementation

bool get isComposite {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_RelationshipInfo_getIsComposite(
        _handle, errorHandler);
  });
}