Show / Hide Table of Contents

Class TableQuerySublayerSource

Represents a sublayer source that is a layer/table defined by a SQL query.

Inheritance
System.Object
SublayerSource
TableQuerySublayerSource
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class TableQuerySublayerSource : SublayerSource
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.

Constructors

Name Description
TableQuerySublayerSource(String, String, IEnumerable<String>)

Initializes a new instance of the TableQuerySublayerSource class with the given workspace ID, SQL query, and ObjectID field names.

Properties

Name Description
GeometryType

Gets or sets the geometry type.

ObjectIdFieldNames

Gets the ObjectID (OID) field names.

SpatialReference

Gets or sets the spatial reference.

SqlQuery

Gets the SQL query string.

WorkspaceId

Gets the registered workspace id.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7
In This Article
Back to top Copyright © 2022 Esri.