ODataRouteBuilderExtensions Class

Definition

Provides extension methods for IRouteBuilder to add OData routes.

public static class ODataRouteBuilderExtensions
type ODataRouteBuilderExtensions = class
Public Module ODataRouteBuilderExtensions
Inheritance
ODataRouteBuilderExtensions

Methods

Count(IRouteBuilder)

Sets the EnableCount to true of DefaultQuerySettings in route builder.

Count(IRouteBuilder, QueryOptionSetting)

Sets the EnableCount of DefaultQuerySettings in route builder, depends on QueryOptionSetting.

EnableContinueOnErrorHeader(IRouteBuilder)

Enable the continue-on-error header.

EnableDependencyInjection(IRouteBuilder)

Enables dependency injection support for HTTP routes.

EnableDependencyInjection(IRouteBuilder, Action<IContainerBuilder>)

Enables dependency injection support for HTTP routes.

Expand(IRouteBuilder)

Sets the EnableExpand to true of DefaultQuerySettings in route builder.

Expand(IRouteBuilder, QueryOptionSetting)

Sets the EnableExpand of DefaultQuerySettings in route builder, depends on QueryOptionSetting. Todo: change QueryOptionSetting to SelectExpandType.

Filter(IRouteBuilder)

Sets the EnableFilter to true of DefaultQuerySettings in route builder.

Filter(IRouteBuilder, QueryOptionSetting)

Sets the EnableFilter of DefaultQuerySettings in route builder, depends on QueryOptionSetting.

GetDefaultODataOptions(IRouteBuilder)

Gets the ODataOptions from route builder.

GetDefaultQuerySettings(IRouteBuilder)

Gets the DefaultQuerySettings from route builder.

GetTimeZoneInfo(IRouteBuilder)

Gets the TimeZoneInfo from route builder.

HasEnabledContinueOnErrorHeader(IRouteBuilder)

Check the continue-on-error header is enable or not.

HasEnabledNullDynamicProperty(IRouteBuilder)

Check the null dynamic property is enable or not.

MapODataServiceRoute(IRouteBuilder, String, String, Action<IContainerBuilder>)

Maps the specified OData route and the OData route attributes.

MapODataServiceRoute(IRouteBuilder, String, String, IEdmModel)

Maps the specified OData route and the OData route attributes.

MapODataServiceRoute(IRouteBuilder, String, String, IEdmModel, IODataPathHandler, IEnumerable<IODataRoutingConvention>)

Maps the specified OData route.

MapODataServiceRoute(IRouteBuilder, String, String, IEdmModel, IODataPathHandler, IEnumerable<IODataRoutingConvention>, ODataBatchHandler)

Maps the specified OData route. When the batchHandler is non-null, it will create a '$batch' endpoint to handle the batch requests.

MapODataServiceRoute(IRouteBuilder, String, String, IEdmModel, ODataBatchHandler)

Maps the specified OData route and the OData route attributes. When the batchHandler is non-null, it will create a '$batch' endpoint to handle the batch requests.

MaxTop(IRouteBuilder, Nullable<Int32>)

Sets the MaxTop of DefaultQuerySettings in route builder.

OrderBy(IRouteBuilder)

Sets the EnableOrderBy to true of DefaultQuerySettings in route builder.

OrderBy(IRouteBuilder, QueryOptionSetting)

Sets the EnableOrderBy of DefaultQuerySettings in route builder, depends on QueryOptionSetting.

Select(IRouteBuilder)

Sets the EnableSelect to true of DefaultQuerySettings in route builder.

Select(IRouteBuilder, QueryOptionSetting)

Sets the SelectType of DefaultQuerySettings in route builder, depends on QueryOptionSetting. Todo: change QueryOptionSetting to SelectExpandType.

SetCompatibilityOptions(IRouteBuilder, CompatibilityOptions)
SetDefaultODataOptions(IRouteBuilder, ODataOptions)

Sets the DefaultQuerySettings in route builder.

SetDefaultQuerySettings(IRouteBuilder, DefaultQuerySettings)

Sets the DefaultQuerySettings in route builder.

SetSerializeNullDynamicProperty(IRouteBuilder, Boolean)

Sets whether or not the null dynamic property to be serialized.

SetTimeZoneInfo(IRouteBuilder, TimeZoneInfo)

Sets the TimeZoneInfo in route builder.

SetUrlKeyDelimiter(IRouteBuilder, ODataUrlKeyDelimiter)

Set the UrlKeyDelimiter in DefaultODataPathHandler.

SkipToken(IRouteBuilder)
SkipToken(IRouteBuilder, QueryOptionSetting)

Applies to