Click or drag to resize

TableQuerySublayerSource Class

Represents a sublayer source that is a layer/table defined by a SQL query.
Inheritance Hierarchy
SystemObject
  Esri.ArcGISRuntime.MappingSublayerSource
    Esri.ArcGISRuntime.MappingTableQuerySublayerSource

Namespace:  Esri.ArcGISRuntime.Mapping
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0.0
Syntax
C#
public sealed class TableQuerySublayerSource : SublayerSource

The TableQuerySublayerSource type exposes the following members.

Constructors
  NameDescription
Public methodTableQuerySublayerSource
Initializes a new instance of the TableQuerySublayerSource class with the given workspace ID, SQL query, and ObjectID field names.
Top
Properties
  NameDescription
Public propertyGeometryType
Gets or sets the geometry type.
Public propertyObjectIdFieldNames
Gets the ObjectID (OID) field names.
Public propertySpatialReference
Gets or sets the spatial reference.
Public propertySqlQuery
Gets the SQL query string.
Public propertyWorkspaceId
Gets the registered workspace id.
Top
Remarks

Since TableQuerySublayerSource uses SQL to directly query database tables and views, spatial information is not required to be in a geodatabase.

In the ArcGIS REST API, a TableQuerySublayerSource corresponds to a "dataLayer" layerSource with a "queryTable" dataSource.

See Also