Share via


ODataInputFormatter Class

Definition

TextInputFormatter class to handle OData.

public class ODataInputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter
type ODataInputFormatter = class
    inherit TextInputFormatter
Public Class ODataInputFormatter
Inherits TextInputFormatter
Inheritance
ODataInputFormatter

Constructors

ODataInputFormatter(IEnumerable<ODataPayloadKind>)

Initializes a new instance of the ODataInputFormatter class.

Properties

BaseAddressFactory

Gets or sets a method that allows consumers to provide an alternate base address for OData Uri.

Methods

CanRead(InputFormatterContext) Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter.CanRead(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext)
GetDefaultBaseAddress(HttpRequest)

Returns a base address to be used in the service root when reading or writing OData uris.

ReadRequestBodyAsync(InputFormatterContext, Encoding)

Reads an object from the request body.

Applies to