Skip to content

Interface: AnnotationContext ​

Defined in: response/odata-annotation.builder.ts:6

Context needed to annotate an entity with OData metadata annotations.

Properties ​

entitySetName ​

readonly entitySetName: string

Defined in: response/odata-annotation.builder.ts:10

The OData entity set name (e.g. 'Products')


entityType ​

readonly entityType: EdmEntityType

Defined in: response/odata-annotation.builder.ts:12

The EDM entity type descriptor


namespace ​

readonly namespace: string

Defined in: response/odata-annotation.builder.ts:14

The EDM namespace (e.g. 'Default')


serviceRoot ​

readonly serviceRoot: string

Defined in: response/odata-annotation.builder.ts:8

The OData service root path (e.g. '/odata')