Interface ODataWriteRequest<T>

interface ODataWriteRequest<T> {
    collection?: string;
    entity?: Partial<T>;
    id?: ODataKeyPredicate;
    method: HTTPMethod;
    params?: SystemQueryOptions<any>;
}

Type Parameters

  • T

Hierarchy (view full)

Properties

collection?: string

the entity set name of data service

entity?: Partial<T>
method: HTTPMethod

GET for QUERY/READ; for QUERY, you can use params to control response data PATCH for UPDATE PUT for overrite POST for CREATE DELETE for delete

params?: SystemQueryOptions<any>