C# Class MvcApi.OData.ODataConfigurationExtensions

显示文件 Open project: dax70/MvcApi

Public Methods

Method Description
EnableQuerySupport ( this configuration ) : void

Enables query support for actions with an IQueryable or IQueryable{T} return type.

EnableQuerySupport ( this configuration, IActionFilter queryFilter ) : void

Enables query support for actions with an IQueryable or IQueryable{T} return type.

Method Details

EnableQuerySupport() public static method

Enables query support for actions with an IQueryable or IQueryable{T} return type.
public static EnableQuerySupport ( this configuration ) : void
configuration this The server configuration.
return void

EnableQuerySupport() public static method

Enables query support for actions with an IQueryable or IQueryable{T} return type.
public static EnableQuerySupport ( this configuration, IActionFilter queryFilter ) : void
configuration this The server configuration.
queryFilter IActionFilter The action filter that executes the query.
return void