layout: default title: Relationship parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Objects

Relationship Class

Describes a layer’s relationship with another layer or table. These relationships are listed in the ArcGIS Services
directory as described in the REST API documentation.
ArcGIS Maps SDK for JavaScript

public class Relationship

Inheritance System.Object 🡒 Relationship

Properties

Relationship.Cardinality Property

The cardinality which specifies the number of objects in the origin FeatureLayer related to the number of objects
in the destination FeatureLayer. Please see the Desktop help for additional information on cardinality.

public System.Nullable<dymaptic.GeoBlazor.Core.Objects.Cardinality> Cardinality { get; set; }

Property Value

System.Nullable<Cardinality>

Relationship.Composite Property

Indicates whether the relationship is composite. In a composite relationship, a destination object cannot exist
independently of its origin object.

public System.Nullable<bool> Composite { get; set; }

Property Value

System.Nullable<System.Boolean>

Relationship.Id Property

The unique ID for the relationship. These ids for the relationships the FeatureLayer participates in are listed in
the ArcGIS Services directory.

public System.Nullable<int> Id { get; set; }

Property Value

System.Nullable<System.Int32>

Relationship.KeyField Property

The field used to establish the relate within the FeatureLayer.

public string? KeyField { get; set; }

Property Value

System.String

Relationship.KeyFieldInRelationshipTable Property

The key field in an attributed relationship class table that matches the keyField. This is returned only for
attributed relationships.

public string? KeyFieldInRelationshipTable { get; set; }

Property Value

System.String

Relationship.Name Property

The name of the relationship.

public string? Name { get; set; }

Property Value

System.String

Relationship.RelatedTableId Property

The unique ID of the related FeatureLayer.

public System.Nullable<int> RelatedTableId { get; set; }

Property Value

System.Nullable<System.Int32>

Relationship.RelationshipTableId Property

The relationship table id.

public System.Nullable<int> RelationshipTableId { get; set; }

Property Value

System.Nullable<System.Int32>

Relationship.Role Property

Indicates whether the table participating in the relationship is the origin or destination table.

public System.Nullable<dymaptic.GeoBlazor.Core.Objects.Role> Role { get; set; }

Property Value

System.Nullable<Role>