C# 클래스 MvcApi.OData.QueryableAttribute

상속: System.Web.Mvc.ActionFilterAttribute
파일 보기 프로젝트 열기: dax70/MvcApi

공개 메소드들

메소드 설명
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