Skip to content
This repository was archived by the owner on Dec 29, 2020. It is now read-only.

Entity Data Model

Trevor Pilley edited this page Apr 28, 2017 · 4 revisions

The Entity Data Model describes the objects used in the API. The classes are in the namespace Net.Http.WebApi.OData.Model.

EntityDataModelBuilder

The class used to build the Entity Data Model, to be used in the application startup (see configuration)

EntityDataModel

Current

The static EntityDataModel.Current property provides access to the model which was built by the EntityDataModelBuilder.

EntitySets

The dictionary of types represented in the API, the key is the name of the entity set and the value is the EdmComplexType.

EdmType

Represents a type in the Entity Data Model.

ClrType

The CLR type represented by the EdmType.

Name

The name of the type in the Entity Data Model.

EdmComplexType

Extends EdmType to represent a complex type in the Entity Data Model.

Properties

A collection of EdmProperty items which represent the properties of the type in the Entity Data Model.

EdmPrimitiveType

Extends EdmType to represent a primitive type (e.g. Int32, Boolean) in the Entity Data Model.

EdmProperty

Represents an entity property in the Entity Data Model.

DeclaringType

The EdmComplexType in the Entity Data Model which declares the property.

Name

The name of the property in the Entity Data Model.

PropertyType

The EdmType of the property in the Entity Data Model (this could be either an EdmComplexType or EdmPrimitiveType).

Clone this wiki locally