---
url: /nestjs-odata/api/generated/interfaces/EdmEntityType.md
---
# Interface: EdmEntityType

Defined in: [edm/edm-entity-type.ts:7](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-entity-type.ts#L7)

Represents an OData v4 EntityType in the Entity Data Model.
Immutable — always create new instances rather than mutating existing ones.

## Properties

### isReadOnly

> `readonly` **isReadOnly**: `boolean`

Defined in: [edm/edm-entity-type.ts:13](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-entity-type.ts#L13)

***

### keyProperties

> `readonly` **keyProperties**: readonly `string`\[]

Defined in: [edm/edm-entity-type.ts:12](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-entity-type.ts#L12)

***

### name

> `readonly` **name**: `string`

Defined in: [edm/edm-entity-type.ts:8](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-entity-type.ts#L8)

***

### namespace

> `readonly` **namespace**: `string`

Defined in: [edm/edm-entity-type.ts:9](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-entity-type.ts#L9)

***

### navigationProperties

> `readonly` **navigationProperties**: readonly [`EdmNavigationProperty`](EdmNavigationProperty.md)\[]

Defined in: [edm/edm-entity-type.ts:11](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-entity-type.ts#L11)

***

### properties

> `readonly` **properties**: readonly [`EdmProperty`](EdmProperty.md)\[]

Defined in: [edm/edm-entity-type.ts:10](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-entity-type.ts#L10)
