Breadcrumbs

OData Import Rules

Bridge 7 The OData Importer imports OData Version 4.0 definitions encoded in CSDL (.edmx) and creates UML model elements corresponding to the definitions.
The CSDL file of your OData service can be retrieved from this URL: http://<servicehost>/<servicepath>/$metadata.

Limitations

  • The OData Importer supports OData files of version 4.0 for entity and service description.

  • Concerning older OData versions, we mostly support 3.0 for entity import but cannot import service descriptions.

Service Import Limitations

The OData Importer has the following limitations concerning import of service descriptions:

  • You cannot use $count to get the number of records returned by a request. This would return an integer in the response body and that is not supported.

  • You cannot use Open Type features to support dynamic properties.

  • You cannot request an individual property of a complex structure using <entity name>('<entity ID')/<individual property name>.

  • You cannot group multiple requests using the batch feature of OData.

OData Primitive Types

OData Type

Description

Supported
by
Importer

E2E Type

Edm.Binary

Binary data

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

Blob

Edm.Boolean

Binary-valued logic

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

Boolean

Edm.Byte

Unsigned 8-bit integer

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

Integer

Edm.Date

Date without a time-zone offset

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

DateTime

Edm.DateTimeOffset

Date and time with a time-zone offset, no leap seconds

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

DateTime

Edm.Decimal

Numeric values with fixed precision and scale

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

Float

Edm.Double

IEEE 754 binary64 floating-point number (15-17 decimal digits)

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

Float

Edm.Duration

Signed duration in days, hours, minutes, and (sub)seconds

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.Guid

16-byte (128-bit) unique identifier

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

String

Edm.Int16

Signed 16-bit integer

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

Integer

Edm.Int32

Signed 32-bit integer

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

Integer

Edm.Int64

Signed 64-bit integer

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

Integer

Edm.SByte

Signed 8-bit integer

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.Single

IEEE 754 binary32 floating-point number (6-9 decimal digits)

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

Float

Edm.Stream

Binary data stream

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.String

Sequence of UTF-8 characters

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

String

Edm.TimeOfDay

Clock time 00:00-23:59:59.999999999999

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.Geography

Abstract base type for all Geography types

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeographyPoint

A point in a round-earth coordinate system

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeographyLineString

Line string in a round-earth coordinate system

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeographyPolygon

Polygon in a round-earth coordinate system

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeographyMultiPoint

Collection of points in a round-earth coordinate system

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeographyMultiLineString

Collection of line strings in a round-earth coordinate system

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeographyMultiPolygon

Collection of polygons in a round-earth coordinate system

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeographyCollection

Collection of arbitrary Geography values

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.Geometry

Abstract base type for all Geometry types

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeometryPoint

Point in a flat-earth coordinate system

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeometryLineString

Line string in a flat-earth coordinate system

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeometryPolygon

Polygon in a flat-earth coordinate system

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeometryMultiPoint

Collection of points in a flat-earth coordinate system

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeometryMultiLineString

Collection of line strings in a flat-earth coordinate system

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeometryMultiPolygon

Collection of polygons in a flat-earth coordinate system

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


Edm.GeometryCollection

Collection of arbitrary Geometry values

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/error.png


On importing an OData entities description, the importer will generate a package structure from the OData definitions. The entities are generated to a package Entities, the types to a package Types. For each entity and type, a corresponding collection type is created.

Related Pages: