C# Класс MvcApi.OData.QueryableAttribute

Наследование: System.Web.Mvc.ActionFilterAttribute
Показать файл Открыть проект

Открытые методы

Метод Описание
GetModel ( Type elementClrType, HttpRequestMessage request, ApiActionDescriptor actionDescriptor ) : IEdmModel

Gets the EDM model for the given type and request.

Override this method to customize the EDM model used for querying.

OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
QueryableAttribute ( ) : System

Enables a controller action to support OData query parameters.

Приватные методы

Метод Описание
IsSupportedReturnType ( Type objectType ) : bool
ValidateQuery ( HttpRequestMessage request, System.Web.Http.OData.Query.ODataQueryOptions queryOptions ) : void

Описание методов

GetModel() публичный Метод

Gets the EDM model for the given type and request.
Override this method to customize the EDM model used for querying.
public GetModel ( Type elementClrType, HttpRequestMessage request, ApiActionDescriptor actionDescriptor ) : IEdmModel
elementClrType System.Type The CLR type to retrieve a model for.
request MvcApi.Http.HttpRequestMessage The request message to retrieve a model for.
actionDescriptor ApiActionDescriptor The action descriptor for the action being queried on.
Результат IEdmModel

OnActionExecuted() публичный Метод

public OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutedContext
Результат void

QueryableAttribute() публичный Метод

Enables a controller action to support OData query parameters.
public QueryableAttribute ( ) : System
Результат System