ContainerBuilderExtensions.AddDefaultODataServices Method
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.
Overloads
AddDefaultODataServices(IContainerBuilder) |
Adds the default OData services to the IContainerBuilder. |
AddDefaultODataServices(IContainerBuilder, ODataVersion) |
Adds the default OData services to the IContainerBuilder. |
AddDefaultODataServices(IContainerBuilder)
Adds the default OData services to the IContainerBuilder.
public static Microsoft.OData.IContainerBuilder AddDefaultODataServices (this Microsoft.OData.IContainerBuilder builder);
static member AddDefaultODataServices : Microsoft.OData.IContainerBuilder -> Microsoft.OData.IContainerBuilder
<Extension()>
Public Function AddDefaultODataServices (builder As IContainerBuilder) As IContainerBuilder
Parameters
- builder
- IContainerBuilder
The IContainerBuilder to add the services to.
Returns
The IContainerBuilder instance itself.
Applies to
AddDefaultODataServices(IContainerBuilder, ODataVersion)
Adds the default OData services to the IContainerBuilder.
public static Microsoft.OData.IContainerBuilder AddDefaultODataServices (this Microsoft.OData.IContainerBuilder builder, Microsoft.OData.ODataVersion odataVersion);
static member AddDefaultODataServices : Microsoft.OData.IContainerBuilder * Microsoft.OData.ODataVersion -> Microsoft.OData.IContainerBuilder
<Extension()>
Public Function AddDefaultODataServices (builder As IContainerBuilder, odataVersion As ODataVersion) As IContainerBuilder
Parameters
- builder
- IContainerBuilder
The IContainerBuilder to add the services to.
- odataVersion
- ODataVersion
ODataVersion for the default services.
Returns
The IContainerBuilder instance itself.