C# Class ODataRestierDynamic.Controllers.DynamicController

Dynamic OData controllers that support writing and reading data using the OData formats.
Inheritance: ODataController
ファイルを表示 Open project: arcelormittalkriviyrih/odata_unified_svc

Private Properties

Property Type Description
GetServiceInfo DynamicServiceInfoObject
GetUserMetadata IHttpActionResult
GetUserProcedure IHttpActionResult

Public Methods

Method Description
CallAction ( string name, ODataActionParameters parameters, System cancellationToken ) : Task

Call action.

CallActionOutput ( string name, ODataActionParameters parameters ) : Task

Call action output.

CallActionResult ( string name, ODataActionParameters parameters ) : IHttpActionResult

Method for calling all Dynamic Actions which exist in DbContext.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes the API and the controller.

Private Methods

Method Description
GetServiceInfo ( ) : DynamicServiceInfoObject
GetUserMetadata ( ) : IHttpActionResult
GetUserProcedure ( ) : IHttpActionResult

Method Details

CallAction() public method

Call action.
public CallAction ( string name, ODataActionParameters parameters, System cancellationToken ) : Task
name string action name.
parameters ODataActionParameters Parameter names and values provided by a client in a POST /// request to invoke a particular Action.
cancellationToken System The cancellation token.
return Task

CallActionOutput() public method

Call action output.
Thrown when an exception error condition occurs.
public CallActionOutput ( string name, ODataActionParameters parameters ) : Task
name string action name.
parameters ODataActionParameters Parameter names and values provided by a client in a POST request /// to invoke a particular Action.
return Task

CallActionResult() public method

Method for calling all Dynamic Actions which exist in DbContext.
public CallActionResult ( string name, ODataActionParameters parameters ) : IHttpActionResult
name string action name.
parameters ODataActionParameters Parameter names and values provided by a client in a POST request /// to invoke a particular Action.
return IHttpActionResult

Dispose() protected method

Disposes the API and the controller.
protected Dispose ( bool disposing ) : void
disposing bool Indicates whether disposing is happening.
return void