

Įnables a controller action to support OData query parameters. To avoid processing unexpected or malicious queries, use the validation settings on to validate incoming queries. This class defines an attribute that can be applied to an action to enable querying using the OData query syntax. The path handler to use for generating the link. Generates an OData link using the request's OData route name and path handler. The items collection itself cannot be, but it can contain elements that are. The items that should be inserted into the. The zero-based index at which the new elements should be inserted. Inserts the elements of a collection into the at the specified index. The items that should be added to the end of the.

The collection to which to add the items. The EDM model to use for parsing OData paths.Īdds the elements of the specified collection to the end of the. The prefix to add to the OData route's path template. The action filter that executes the query.Ī collection of routes for the application. Įnables query support for actions with a or return type. The OData routing conventions to use for controller and action selection.Įnables query support for actions with a or return type. Sets the OData routing conventions to use for controller and action selection. The route name to use for generating OData links. Sets the given route name to be used for generating OData links. The next page link to send back to the client. Sets the next page link to use in the OData response. The inline count to send back to the client. Sets the inline count to use in the OData response. The EDM model to associate with the request. The OData routing conventions to use for controller and action selection associated with this request, or null if there aren't any.Īssociates the given EDM model with the request. Gets the OData routing conventions to use for controller and action selection. The route name to use for generating OData links associated with this request, or null if there isn't one. Retrieves the route name to use for generating OData links. The next page link to send back, or null if one isn't set. Gets the next page link to use in the OData response. The inline count to send back, or null if one isn't set. Gets the inline count to use in the OData response. The EDM model associated with this request, or null if there isn't one. Retrieves the EDM model associated with the request. If no formatter is found, this method returns a response with status 406 NotAcceptable.Īn error response wrapping with status code. Helper method that performs content negotiation and creates a representing an error with an instance of wrapping as the content. Provides extension methods for the class. 3317 lines | 261,096 kB Blame History Raw Ladda ned fil
