Skip to main content
Skip table of contents

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 TypeDescriptionSupported
by
Importer
E2E Type
Edm.BinaryBinary data(tick)Blob
Edm.BooleanBinary-valued logic(tick)Boolean
Edm.ByteUnsigned 8-bit integer(tick)Integer
Edm.DateDate without a time-zone offset(tick)DateTime
Edm.DateTimeOffsetDate and time with a time-zone offset, no leap seconds(tick)DateTime
Edm.DecimalNumeric values with fixed precision and scale(tick)Float
Edm.DoubleIEEE 754 binary64 floating-point number (15-17 decimal digits)(tick)Float
Edm.DurationSigned duration in days, hours, minutes, and (sub)seconds(error)
Edm.Guid16-byte (128-bit) unique identifier(tick)String
Edm.Int16Signed 16-bit integer(tick)Integer
Edm.Int32Signed 32-bit integer(tick)Integer
Edm.Int64Signed 64-bit integer(tick)Integer
Edm.SByteSigned 8-bit integer(error)
Edm.SingleIEEE 754 binary32 floating-point number (6-9 decimal digits)(tick)Float
Edm.StreamBinary data stream(error)
Edm.StringSequence of UTF-8 characters(tick)String
Edm.TimeOfDayClock time 00:00-23:59:59.999999999999(error)
Edm.GeographyAbstract base type for all Geography types(error)
Edm.GeographyPointA point in a round-earth coordinate system(error)
Edm.GeographyLineStringLine string in a round-earth coordinate system(error)
Edm.GeographyPolygonPolygon in a round-earth coordinate system(error)
Edm.GeographyMultiPointCollection of points in a round-earth coordinate system(error)
Edm.GeographyMultiLineStringCollection of line strings in a round-earth coordinate system(error)
Edm.GeographyMultiPolygonCollection of polygons in a round-earth coordinate system(error)
Edm.GeographyCollectionCollection of arbitrary Geography values(error)
Edm.GeometryAbstract base type for all Geometry types(error)
Edm.GeometryPointPoint in a flat-earth coordinate system(error)
Edm.GeometryLineStringLine string in a flat-earth coordinate system(error)
Edm.GeometryPolygonPolygon in a flat-earth coordinate system(error)
Edm.GeometryMultiPointCollection of points in a flat-earth coordinate system(error)
Edm.GeometryMultiLineStringCollection of line strings in a flat-earth coordinate system(error)
Edm.GeometryMultiPolygonCollection of polygons in a flat-earth coordinate system(error)
Edm.GeometryCollectionCollection of arbitrary Geometry values(error)

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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.