Tcl OData Documentation — Entity Handler Command Interface

Table of Contents

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

NAME

OData Handler Command Interface Specifications

SYNOPSIS

command subcommand providerInstance entitySetName ?args...?

DESCRIPTION

The handler for an entity set must conform to the API described in this interface. It is assumed that the handler is either a class or namespace ensembly -- but not requried to be so.

Required — Get an Entity

command getEntity providerInstance entitySetName keyDict

Required — Get an Entity Set

command getEntitySet providerInstance entitySetName queryDict

Required — Get Supported Options

command supports providerInstance entitySetName

Optional — Cleanup

command cleanup providerInstance entitySetName

Optional — Create an Entity

command createEntity providerInstance entitySetName entityDict

Optional — Delete an Entity

command deleteEntity providerInstance entitySetName keyDict ?changeSetTag?

Optional — Get a Relationship Set of an Entity

command getRelationshipSet providerInstance entitySetName keyDict relationshipName queryDict

Optional — Invoke a Bound Action on an Entity

command invokeAction providerInstance entitySetName keyDict actionName parameterDict

Optional — Invoke a Bound Function on an Entity

command invokeFunction providerInstance entitySetName keyDict FunctionName parameterDict

Optional — Do a "Patch" Update of an Entity

command patchEntity providerInstance entitySetName keyDict changeDict ?changeSetTag?

Optional — Do a "Full" Update of an Entity

command updateEntity providerInstance entitySetName keyDict entityDict ?changeSetTag?

SEE ALSO

odata::OData, odata::Provider and Unbound Action/Function Command Interface.

Copyright © 2017 Gerald W. Lester