项目作者: riccardomariani

项目描述 :
OData service for Angular
高级语言: TypeScript
项目地址: git://github.com/riccardomariani/odata-v4-ng.git
创建时间: 2017-08-07T09:37:46Z
项目社区:https://github.com/riccardomariani/odata-v4-ng

开源协议:MIT License

下载


ATTENTION!

This project is no longer in development and it’s only compatible with angular versions < 13.

A new project has been created, as a fork from this project, to be compatible with angular version 13 and possibly any upcoming angular version https://github.com/ebenefits/odata-v4-ng. I’m not the maintainer of the new project. The new project has a different maintainer that I want to publicly thank to have kept the project alive. Please take a look at the following issue for additional details about the changes https://github.com/riccardomariani/odata-v4-ng/issues/36.

odata-v4-ng

This project is a client side OData V4 typescript library for Angular2+. The goal is to create an easy to understand fluent API for querying, creating, updating and deleting OData resources in Angular2+.

Install

To install the package use npm install --save odata-v4-ng

Import

  1. import { AppComponent } from './app.component';
  2. import { ODataModule } from 'odata-v4-ng';
  3. ...
  4. @NgModule({
  5. declarations: [
  6. AppComponent
  7. ...
  8. ],
  9. imports: [
  10. ODataModule
  11. ...
  12. ],
  13. bootstrap: [ AppComponent ]
  14. })
  15. export class AppModule { }

Usage examples

See here.

Changelog

See here.

Code quality

See here.