Class ODataContext

Index

Constructor methods

Methods

Constructor methods

constructor(options?: ODataContextOptions): ODataContext

Parameters

Returns

ODataContext

Methods

public get(operationName: string, params: { [key: string]: any; }): JQueryDeferred

Parameters

  • operationName: string
  • params: { [key: string]: any; }

Returns

JQueryDeferred

public invoke(operationName: string, params: { [key: string]: any; }, httpMethod?: string): JQueryDeferred

Parameters

  • operationName: string
  • params: { [key: string]: any; }
  • httpMethod?: string optional

Returns

JQueryDeferred

public objectLink(entityAlias: string, key: any): { __metadata: { uri: string; }; }

Parameters

  • entityAlias: string
  • key: any

Returns

{ __metadata: { uri: string; }; }