dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Model
RelationshipQuery Class
This class defines parameters for executing queries for related records from a layer.
ArcGIS Maps SDK for JavaScript
public class RelationshipQuery :
System.IEquatable<dymaptic.GeoBlazor.Core.Model.RelationshipQuery>
Inheritance System.Object 🡒 RelationshipQuery
Implements System.IEquatable<RelationshipQuery>
Constructors
RelationshipQuery(Nullable, string, Nullable, Nullable, Nullable, Nullable, IReadOnlyCollection, IReadOnlyCollection, IReadOnlyCollection, SpatialReference, Nullable, Nullable, Nullable, Nullable, Nullable, string) Constructor
This class defines parameters for executing queries for related records from a layer.
ArcGIS Maps SDK for JavaScript
public RelationshipQuery(System.Nullable<bool> CacheHint=null, string? GdbVersion=null, System.Nullable<double> GeometryPrecision=null, System.Nullable<System.DateTime> HistoricMoment=null, System.Nullable<double> MaxAllowableOffset=null, System.Nullable<int> Num=null, System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Model.ObjectId>? ObjectIds=null, System.Collections.Generic.IReadOnlyCollection<string>? OrderByFields=null, System.Collections.Generic.IReadOnlyCollection<string>? OutFields=null, dymaptic.GeoBlazor.Core.Components.SpatialReference? OutSpatialReference=null, System.Nullable<long> RelationshipId=null, System.Nullable<bool> ReturnGeometry=null, System.Nullable<bool> ReturnM=null, System.Nullable<bool> ReturnZ=null, System.Nullable<int> Start=null, string? Where=null);
Parameters
CacheHint
System.Nullable<System.Boolean>
Indicates if the service should cache the relationship query results.
default undefined
ArcGIS Maps SDK for JavaScript
GdbVersion
System.String
Specify the geodatabase version to query.
ArcGIS Maps SDK for JavaScript
GeometryPrecision
System.Nullable<System.Double>
Specify the number of decimal places for the geometries returned by the query operation.
ArcGIS Maps SDK for JavaScript
HistoricMoment
System.Nullable<System.DateTime>
The historic moment to query.
ArcGIS Maps SDK for JavaScript
MaxAllowableOffset
System.Nullable<System.Double>
The maximum allowable offset used for generalizing geometries returned by the query operation.
ArcGIS Maps SDK for JavaScript
Num
System.Nullable<System.Int32>
The number of features to retrieve.
ArcGIS Maps SDK for JavaScript
ObjectIds
System.Collections.Generic.IReadOnlyCollection<ObjectId>
An array of objectIds for the features in the layer/table being queried.
ArcGIS Maps SDK for JavaScript
OrderByFields
System.Collections.Generic.IReadOnlyCollection<System.String>
One or more field names used to order the query results.
ArcGIS Maps SDK for JavaScript
OutFields
System.Collections.Generic.IReadOnlyCollection<System.String>
Attribute fields to include in the FeatureSet.
ArcGIS Maps SDK for JavaScript
OutSpatialReference
SpatialReference
The spatial reference for the returned geometry.
ArcGIS Maps SDK for JavaScript
RelationshipId
System.Nullable<System.Int64>
The ID of the relationship to be queried.
ArcGIS Maps SDK for JavaScript
ReturnGeometry
System.Nullable<System.Boolean>
If true
, each feature in the FeatureSet includes the geometry.
default false
ArcGIS Maps SDK for JavaScript
ReturnM
System.Nullable<System.Boolean>
If true
, and returnGeometry is true
, then m-values are included in the geometry.
ArcGIS Maps SDK for JavaScript
ReturnZ
System.Nullable<System.Boolean>
If true
, and returnGeometry is true
, then z-values are included in the geometry.
ArcGIS Maps SDK for JavaScript
Start
System.Nullable<System.Int32>
The zero-based index indicating where to begin retrieving features.
ArcGIS Maps SDK for JavaScript
Where
System.String
The definition expression to be applied to the related table or layer.
ArcGIS Maps SDK for JavaScript
Properties
RelationshipQuery.CacheHint Property
Indicates if the service should cache the relationship query results.
default undefined
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> CacheHint { get; set; }
Property Value
System.Nullable<System.Boolean>
RelationshipQuery.GdbVersion Property
Specify the geodatabase version to query.
ArcGIS Maps SDK for JavaScript
public string? GdbVersion { get; set; }
Property Value
RelationshipQuery.GeometryPrecision Property
Specify the number of decimal places for the geometries returned by the query operation.
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> GeometryPrecision { get; set; }
Property Value
System.Nullable<System.Double>
RelationshipQuery.HistoricMoment Property
The historic moment to query.
ArcGIS Maps SDK for JavaScript
public System.Nullable<System.DateTime> HistoricMoment { get; set; }
Property Value
System.Nullable<System.DateTime>
RelationshipQuery.MaxAllowableOffset Property
The maximum allowable offset used for generalizing geometries returned by the query operation.
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> MaxAllowableOffset { get; set; }
Property Value
System.Nullable<System.Double>
RelationshipQuery.Num Property
The number of features to retrieve.
ArcGIS Maps SDK for JavaScript
public System.Nullable<int> Num { get; set; }
Property Value
RelationshipQuery.ObjectIds Property
An array of objectIds for the features in the layer/table being queried.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Model.ObjectId>? ObjectIds { get; set; }
Property Value
System.Collections.Generic.IReadOnlyCollection<ObjectId>
RelationshipQuery.OrderByFields Property
One or more field names used to order the query results.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyCollection<string>? OrderByFields { get; set; }
Property Value
System.Collections.Generic.IReadOnlyCollection<System.String>
RelationshipQuery.OutFields Property
Attribute fields to include in the FeatureSet.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyCollection<string>? OutFields { get; set; }
Property Value
System.Collections.Generic.IReadOnlyCollection<System.String>
RelationshipQuery.OutSpatialReference Property
The spatial reference for the returned geometry.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.SpatialReference? OutSpatialReference { get; set; }
Property Value
RelationshipQuery.RelationshipId Property
The ID of the relationship to be queried.
ArcGIS Maps SDK for JavaScript
public System.Nullable<long> RelationshipId { get; set; }
Property Value
RelationshipQuery.ReturnGeometry Property
If true
, each feature in the FeatureSet includes the geometry.
default false
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> ReturnGeometry { get; set; }
Property Value
System.Nullable<System.Boolean>
RelationshipQuery.ReturnM Property
If true
, and returnGeometry is true
, then m-values are included in the geometry.
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> ReturnM { get; set; }
Property Value
System.Nullable<System.Boolean>
RelationshipQuery.ReturnZ Property
If true
, and returnGeometry is true
, then z-values are included in the geometry.
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> ReturnZ { get; set; }
Property Value
System.Nullable<System.Boolean>
RelationshipQuery.Start Property
The zero-based index indicating where to begin retrieving features.
ArcGIS Maps SDK for JavaScript
public System.Nullable<int> Start { get; set; }
Property Value
RelationshipQuery.Where Property
The definition expression to be applied to the related table or layer.
ArcGIS Maps SDK for JavaScript
public string? Where { get; set; }