diegomvh / angular-odata

Client side OData typescript library for Angular
https://www.npmjs.com/package/angular-odata
MIT License
50 stars 14 forks source link

C(R)UD Examples #35

Closed krstev1994 closed 3 years ago

krstev1994 commented 3 years ago

Hi Diego, Can you provide some examples of using create, update and destroy methods? Get and fetch options are well documented! Thanks and BR, Vasil.

diegomvh commented 3 years ago

Hi @krstev1994

I am working in the services these days. According to your comment in issue #27 and the true lack of documentation :) Prepare an example of CRUD in: https://github.com/diegomvh/AngularODataEntity/blob/0aa8fb9aa7a2865c176cd4a76fb650fed361a129/src/app/app.component.ts#L197

This example is for the new version, because based on issue #34 I saw that the services needed to be refactored.

In version 0.65.0 I release the changes.

Regards

diegomvh commented 3 years ago

CRUD Example:

https://github.com/diegomvh/AngularODataEntity/blob/c587ff675b0ee02fdb7295d57bdcaac87e640353/src/app/app.component.ts#L197