dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
QueryTableDataSource Class
A query table is a feature class or table defined by a SQL query on the fly.
ArcGIS Maps SDK for JavaScript
public class QueryTableDataSource : dymaptic.GeoBlazor.Core.Components.DynamicDataSource,
dymaptic.GeoBlazor.Core.Interfaces.IDynamicDataLayerDataSource
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 DynamicDataSource 🡒 QueryTableDataSource
Implements IDynamicDataLayerDataSource
Constructors
QueryTableDataSource() Constructor
Parameterless constructor for use as a Razor Component.
public QueryTableDataSource();
QueryTableDataSource(string, string, string, Nullable, SpatialReference) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public QueryTableDataSource(string workspaceId, string query, string? oidFields=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.FeatureGeometryType> geometryType=null, dymaptic.GeoBlazor.Core.Components.SpatialReference? spatialReference=null);
Parameters
workspaceId
System.String
The workspace where the data resides (defined in ArcGIS Server Manager).
ArcGIS Maps SDK for JavaScript
query
System.String
The SQL query used to filter records.
ArcGIS Maps SDK for JavaScript
oidFields
System.String
The field name(s) containing the unique IDs for each record in the table.
ArcGIS Maps SDK for JavaScript
geometryType
System.Nullable<FeatureGeometryType>
The geometry type of each record in the table.
ArcGIS Maps SDK for JavaScript
spatialReference
SpatialReference
The spatial reference of the geometry of each feature in the table source.
ArcGIS Maps SDK for JavaScript
Properties
QueryTableDataSource.GeometryType Property
The geometry type of each record in the table.
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.FeatureGeometryType> GeometryType { get; set; }
Property Value
System.Nullable<FeatureGeometryType>
QueryTableDataSource.OidFields Property
The field name(s) containing the unique IDs for each record in the table. This can be a comma separated list if the query table is used in a JoinTableDataSource.
public string? OidFields { get; set; }
Property Value
QueryTableDataSource.Query Property
The SQL query used to filter records.
public string? Query { get; set; }
Property Value
QueryTableDataSource.SpatialReference Property
The spatial reference of the geometry of each feature in the table source.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.SpatialReference? SpatialReference { get; set; }
Property Value
QueryTableDataSource.Type Property
The name of the data source type.
public override dymaptic.GeoBlazor.Core.Enums.DynamicDataSourceType Type { get; }
Property Value
QueryTableDataSource.WorkspaceId Property
The workspace where the table resides as defined in the ArcGIS Server Manager.
public string? WorkspaceId { get; set; }
Property Value
Methods
QueryTableDataSource.GetGeometryType() Method
Asynchronously retrieve the current value of the GeometryType property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.FeatureGeometryType>> GetGeometryType();
Returns
System.Threading.Tasks.Task<System.Nullable<FeatureGeometryType>>
QueryTableDataSource.GetOidFields() Method
Asynchronously retrieve the current value of the OidFields property.
public System.Threading.Tasks.Task<string?> GetOidFields();
Returns
System.Threading.Tasks.Task<System.String>
QueryTableDataSource.GetQuery() Method
Asynchronously retrieve the current value of the Query property.
public System.Threading.Tasks.Task<string?> GetQuery();
Returns
System.Threading.Tasks.Task<System.String>
QueryTableDataSource.GetSpatialReference() Method
Asynchronously retrieve the current value of the SpatialReference property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.SpatialReference?> GetSpatialReference();
Returns
System.Threading.Tasks.Task<SpatialReference>
QueryTableDataSource.GetWorkspaceId() Method
Asynchronously retrieve the current value of the WorkspaceId property.
public System.Threading.Tasks.Task<string?> GetWorkspaceId();
Returns
System.Threading.Tasks.Task<System.String>
QueryTableDataSource.SetGeometryType(FeatureGeometryType) Method
Asynchronously set the value of the GeometryType property after render.
public System.Threading.Tasks.Task SetGeometryType(dymaptic.GeoBlazor.Core.Enums.FeatureGeometryType value);
Parameters
value
FeatureGeometryType
The value to set.
Returns
QueryTableDataSource.SetOidFields(string) Method
Asynchronously set the value of the OidFields property after render.
public System.Threading.Tasks.Task SetOidFields(string value);
Parameters
value
System.String
The value to set.
Returns
QueryTableDataSource.SetQuery(string) Method
Asynchronously set the value of the Query property after render.
public System.Threading.Tasks.Task SetQuery(string value);
Parameters
value
System.String
The value to set.
Returns
QueryTableDataSource.SetSpatialReference(SpatialReference) Method
Asynchronously set the value of the SpatialReference property after render.
public System.Threading.Tasks.Task SetSpatialReference(dymaptic.GeoBlazor.Core.Components.SpatialReference value);
Parameters
value
SpatialReference
The value to set.
Returns
QueryTableDataSource.SetWorkspaceId(string) Method
Asynchronously set the value of the WorkspaceId property after render.
public System.Threading.Tasks.Task SetWorkspaceId(string value);
Parameters
value
System.String
The value to set.
Returns
QueryTableDataSource.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()