The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
EnableQueryAttribute::GetModel Method (Type^, HttpRequestMessage^, HttpActionDescriptor^)
Gets the EDM model for the given type and request. Override this method to customize the EDM model used for querying.
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
public: virtual IEdmModel^ GetModel( Type^ elementClrType, HttpRequestMessage^ request, HttpActionDescriptor^ actionDescriptor )
Parameters
- elementClrType
-
Type:
System::Type^
The CLR type to retrieve a model for.
- request
-
Type:
System.Net.Http::HttpRequestMessage^
The request message to retrieve a model for.
- actionDescriptor
-
Type:
System.Web.Http.Controllers::HttpActionDescriptor^
The action descriptor for the action being queried on.
Show: