odata-metadata
v0.1.0
Published
OData metadata utilities
Downloads
12
Keywords
Readme
#OData metadata classes
This library implements the EDM and EMDX classes from the OData CSDL V4.
Features
- Edm and Edmx classes
- will provide Validation logic - based on specs (-on the way)
- will Download and parse metadata from $metadata document or uri endpoint
##Usage
$ npm install odata-metadata
then just
import {Edm} from 'odata-metadata'
let entityType = new edm.EntityType({ name: "Orders", property: [{ name:"OrderID", type:edm.Integer}]
entityType.properties.push(new Edm.Property(...))