0.1.0 • Published 8 years ago

odata-metadata v0.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

#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(...))

Edm classes implemented

Edm.Action

Edm.ComplexType

Edm.EntityType

Edm.EnumType

Edm.Function

Edm.Member

Edm.NavigationProperty

Edm.Parameter

Edm.Property

Edm.PropertyRef

Edm.ReferentialConstraint

Edm.ReturnType

Edm.Schema

0.1.1

8 years ago

0.1.0

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago