ODataServiceCollectionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides extension methods to add odata services.
public static class ODataServiceCollectionExtensions
type ODataServiceCollectionExtensions = class
Public Module ODataServiceCollectionExtensions
- Inheritance
-
ODataServiceCollectionExtensions
Methods
AddOData(IServiceCollection) |
Adds essential OData services to the specified IServiceCollection. |
AddODataQueryFilter(IServiceCollection) |
Enables query support for actions with an IQueryable or IQueryable<T> return type. To avoid processing unexpected or malicious queries, use the validation settings on EnableQueryAttribute to validate incoming queries. For more information, visit http://go.microsoft.com/fwlink/?LinkId=279712. |
AddODataQueryFilter(IServiceCollection, IActionFilter) |
Enables query support for actions with an IQueryable or IQueryable<T> return type. To avoid processing unexpected or malicious queries, use the validation settings on EnableQueryAttribute to validate incoming queries. For more information, visit http://go.microsoft.com/fwlink/?LinkId=279712. |