dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

JoinTableDataSource Class

The result of an on-the-fly join operation at runtime.
ArcGIS Maps SDK for JavaScript

public class JoinTableDataSource : dymaptic.GeoBlazor.Core.Components.DynamicDataSource,
dymaptic.GeoBlazor.Core.Interfaces.IDynamicDataLayerDataSource

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 DynamicDataSource 🡒 JoinTableDataSource

Implements IDynamicDataLayerDataSource

Constructors

JoinTableDataSource() Constructor

Parameterless constructor for use as a Razor Component.

public JoinTableDataSource();

JoinTableDataSource(string, string, DynamicJoinType, DynamicLayer, DynamicLayer) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public JoinTableDataSource(string leftTableKey, string rightTableKey, dymaptic.GeoBlazor.Core.Enums.DynamicJoinType joinType, dymaptic.GeoBlazor.Core.Components.DynamicLayer leftTableSource, dymaptic.GeoBlazor.Core.Components.DynamicLayer rightTableSource);

Parameters

leftTableKey System.String

The field name used for joining or matching records in the left table to records in the right table.
ArcGIS Maps SDK for JavaScript

rightTableKey System.String

The field name used for joining or matching records in the right table to records in the left table.
ArcGIS Maps SDK for JavaScript

joinType DynamicJoinType

The type of join that will be performed.
ArcGIS Maps SDK for JavaScript

leftTableSource DynamicLayer

The left table for joining to the right table source.
ArcGIS Maps SDK for JavaScript

rightTableSource DynamicLayer

The right table for joining to the left table source.
ArcGIS Maps SDK for JavaScript

Properties

JoinTableDataSource.JoinType Property

The type of join that will be performed.

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.DynamicJoinType> JoinType { get; set; }

Property Value

System.Nullable<DynamicJoinType>

JoinTableDataSource.LeftTableKey Property

The field name used for joining or matching records in the left table to records in the right table.

public string? LeftTableKey { get; set; }

Property Value

System.String

JoinTableDataSource.LeftTableSource Property

The left table for joining to the right table source.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.DynamicLayer? LeftTableSource { get; set; }

Property Value

DynamicLayer

JoinTableDataSource.RightTableKey Property

The field name used for joining or matching records in the right table to records in the left table.

public string? RightTableKey { get; set; }

Property Value

System.String

JoinTableDataSource.RightTableSource Property

The right table for joining to the left table source.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.DynamicLayer? RightTableSource { get; set; }

Property Value

DynamicLayer

JoinTableDataSource.Type Property

The name of the data source type.

public override dymaptic.GeoBlazor.Core.Enums.DynamicDataSourceType Type { get; }

Property Value

DynamicDataSourceType

Methods

JoinTableDataSource.GetJoinType() Method

Asynchronously retrieve the current value of the JoinType property.

public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.DynamicJoinType>> GetJoinType();

Returns

System.Threading.Tasks.Task<System.Nullable<DynamicJoinType>>

JoinTableDataSource.GetLeftTableKey() Method

Asynchronously retrieve the current value of the LeftTableKey property.

public System.Threading.Tasks.Task<string?> GetLeftTableKey();

Returns

System.Threading.Tasks.Task<System.String>

JoinTableDataSource.GetLeftTableSource() Method

Asynchronously retrieve the current value of the LeftTableSource property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.DynamicLayer?> GetLeftTableSource();

Returns

System.Threading.Tasks.Task<DynamicLayer>

JoinTableDataSource.GetRightTableKey() Method

Asynchronously retrieve the current value of the RightTableKey property.

public System.Threading.Tasks.Task<string?> GetRightTableKey();

Returns

System.Threading.Tasks.Task<System.String>

JoinTableDataSource.GetRightTableSource() Method

Asynchronously retrieve the current value of the RightTableSource property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.DynamicLayer?> GetRightTableSource();

Returns

System.Threading.Tasks.Task<DynamicLayer>

JoinTableDataSource.RegisterChildComponent(MapComponent) Method

Called from dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync to “Register” the current component with its parent.

public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child MapComponent

The calling, child component to register

Returns

System.Threading.Tasks.Task

Exceptions

InvalidChildElementException
Throws if the current child is not a valid sub-component to the parent.

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method. If you see no other way to register a child component, please open an issue on GitHub.

JoinTableDataSource.SetJoinType(DynamicJoinType) Method

Asynchronously set the value of the JoinType property after render.

public System.Threading.Tasks.Task SetJoinType(dymaptic.GeoBlazor.Core.Enums.DynamicJoinType value);

Parameters

value DynamicJoinType

The value to set.

Returns

System.Threading.Tasks.Task

JoinTableDataSource.SetLeftTableKey(string) Method

Asynchronously set the value of the LeftTableKey property after render.

public System.Threading.Tasks.Task SetLeftTableKey(string value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

JoinTableDataSource.SetLeftTableSource(DynamicLayer) Method

Asynchronously set the value of the LeftTableSource property after render.

public System.Threading.Tasks.Task SetLeftTableSource(dymaptic.GeoBlazor.Core.Components.DynamicLayer value);

Parameters

value DynamicLayer

The value to set.

Returns

System.Threading.Tasks.Task

JoinTableDataSource.SetRightTableKey(string) Method

Asynchronously set the value of the RightTableKey property after render.

public System.Threading.Tasks.Task SetRightTableKey(string value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

JoinTableDataSource.SetRightTableSource(DynamicLayer) Method

Asynchronously set the value of the RightTableSource property after render.

public System.Threading.Tasks.Task SetRightTableSource(dymaptic.GeoBlazor.Core.Components.DynamicLayer value);

Parameters

value DynamicLayer

The value to set.

Returns

System.Threading.Tasks.Task

JoinTableDataSource.UnregisterChildComponent(MapComponent) Method

Undoes the “Registration” of a child with its parent.

public override System.Threading.Tasks.Task UnregisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child MapComponent

The child to unregister

Returns

System.Threading.Tasks.Task

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method.