Show / Hide Table of Contents

Property IncludeRelated

IncludeRelated

Gets or sets a value indicating whether only related rows are added to the specific LayerId in the generated geodatabase.

Declaration
public bool IncludeRelated { get; set; }
Property Value
Type Description
Boolean

A value indicating whether only related rows are added to the specific LayerId in the generated geodatabase.

Remarks

' This property is only applicable if your data has relationship classes and when QueryOption is 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.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
In This Article
Back to top Copyright © 2022 Esri.