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
.
The OData Importer has the following limitations concerning import of service descriptions:
<entity name>('<entity ID')/<individual property name>
.OData Type | Description | Supported by Importer | E2E Type |
---|---|---|---|
Edm.Binary | Binary data | Blob | |
Edm.Boolean | Binary-valued logic | Boolean | |
Edm.Byte | Unsigned 8-bit integer | Integer | |
Edm.Date | Date without a time-zone offset | DateTime | |
Edm.DateTimeOffset | Date and time with a time-zone offset, no leap seconds | DateTime | |
Edm.Decimal | Numeric values with fixed precision and scale | Float | |
Edm.Double | IEEE 754 binary64 floating-point number (15-17 decimal digits) | Float | |
Edm.Duration | Signed duration in days, hours, minutes, and (sub)seconds | ||
Edm.Guid | 16-byte (128-bit) unique identifier | String | |
Edm.Int16 | Signed 16-bit integer | Integer | |
Edm.Int32 | Signed 32-bit integer | Integer | |
Edm.Int64 | Signed 64-bit integer | Integer | |
Edm.SByte | Signed 8-bit integer | ||
Edm.Single | IEEE 754 binary32 floating-point number (6-9 decimal digits) | Float | |
Edm.Stream | Binary data stream | ||
Edm.String | Sequence of UTF-8 characters | String | |
Edm.TimeOfDay | Clock time 00:00-23:59:59.999999999999 | ||
Edm.Geography | Abstract base type for all Geography types | ||
Edm.GeographyPoint | A point in a round-earth coordinate system | ||
Edm.GeographyLineString | Line string in a round-earth coordinate system | ||
Edm.GeographyPolygon | Polygon in a round-earth coordinate system | ||
Edm.GeographyMultiPoint | Collection of points in a round-earth coordinate system | ||
Edm.GeographyMultiLineString | Collection of line strings in a round-earth coordinate system | ||
Edm.GeographyMultiPolygon | Collection of polygons in a round-earth coordinate system | ||
Edm.GeographyCollection | Collection of arbitrary Geography values | ||
Edm.Geometry | Abstract base type for all Geometry types | ||
Edm.GeometryPoint | Point in a flat-earth coordinate system | ||
Edm.GeometryLineString | Line string in a flat-earth coordinate system | ||
Edm.GeometryPolygon | Polygon in a flat-earth coordinate system | ||
Edm.GeometryMultiPoint | Collection of points in a flat-earth coordinate system | ||
Edm.GeometryMultiLineString | Collection of line strings in a flat-earth coordinate system | ||
Edm.GeometryMultiPolygon | Collection of polygons in a flat-earth coordinate system | ||
Edm.GeometryCollection | Collection of arbitrary Geometry values |
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.