includeRelated property

bool includeRelated

Indicates if only related rows are added to the specific GenerateLayerOption.layerId in the generated geodatabase.

This property is only applicable if your data has relationship classes and when GenerateLayerOption.queryOption is GenerateLayerQueryOption.none.

Set this to true for a layer or table to retrieve only rows or features used in relationships.

A typical scenario is a feature layer related to a large table. Setting the tables includeRelated to true you can reduce the offline table size to just rows related to by features that are part of the offline extent.

The default value of this property is false.

Implementation

bool get includeRelated {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GenerateLayerOption_getIncludeRelated(
        _handle, errorHandler);
  });
}
void includeRelated=(bool value)

Implementation

set includeRelated(bool value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_GenerateLayerOption_setIncludeRelated(
        _handle, value, errorHandler);
  });
}