# Interface ArcGISRelationshipProperties

Properties that can be passed into the constructor for ArcGISRelationship.

interface ArcGISRelationshipProperties {
$relationshipType?: string;
cardinality?: Cardinality;
destinationForeignKey?: string;
failureMode?: FailureMode;
id?: string;
keyField: string;
originForeignKey?: string;
queryService?: QueryService;
relatedKeyField: string;
relatedSource: FeatureSource;
relationshipTableId?: number;
title?: string;
}

#### Hierarchy (view full)

- QueryBasedRelationshipProperties
  - ArcGISRelationshipProperties

#####
Index

### Properties

$relationshipType?
cardinality?
destinationForeignKey?
failureMode?
id?
keyField
originForeignKey?
queryService?
relatedKeyField
relatedSource
relationshipTableId?
title?

##
Properties

### `Optional`$relationshipType

$relationshipType?: string

See data/_Relationship!RelationshipProperties.$relationshipType.

Inherited from QueryBasedRelationshipProperties.$relationshipType

### `Optional` cardinality

cardinality?: Cardinality

See tasks/query/QueryBasedRelationship!QueryBasedRelationship.cardinality.

Inherited from QueryBasedRelationshipProperties.cardinality

### `Optional` destinationForeignKey

destinationForeignKey?: string

See ArcGISRelationship.destinationForeignKey.

### `Optional` failureMode

failureMode?: FailureMode

See support/InitializableBase!InitializableBase.failureMode.

Inherited from QueryBasedRelationshipProperties.failureMode

### `Optional` id

id?: string

The unique ID to assign to the entity. If not specified, one will be generated.

Inherited from QueryBasedRelationshipProperties.id

### keyField

keyField: string

See tasks/query/QueryBasedRelationship!QueryBasedRelationship.keyField.

Inherited from QueryBasedRelationshipProperties.keyField

### `Optional` originForeignKey

originForeignKey?: string

See ArcGISRelationship.originForeignKey.

### `Optional` queryService

queryService?: QueryService

See tasks/query/QueryBasedRelationship!QueryBasedRelationship.queryService.

Inherited from QueryBasedRelationshipProperties.queryService

### relatedKeyField

relatedKeyField: string

See tasks/query/QueryBasedRelationship!QueryBasedRelationship.relatedKeyField.

Inherited from QueryBasedRelationshipProperties.relatedKeyField

### relatedSource

relatedSource: FeatureSource

See tasks/query/QueryBasedRelationship!QueryBasedRelationship.relatedSource.

Inherited from QueryBasedRelationshipProperties.relatedSource

### `Optional` relationshipTableId

relationshipTableId?: number

See ArcGISRelationship.relationshipTableId.

### `Optional` title

title?: string

See data/_Relationship!Relationship.title.

Inherited from QueryBasedRelationshipProperties.title