ODataController Class

Definition

The base controller class for OData.

[Microsoft.AspNetCore.OData.Routing.Attributes.ODataAttributeRouting]
public abstract class ODataController : Microsoft.AspNetCore.Mvc.ControllerBase
[<Microsoft.AspNetCore.OData.Routing.Attributes.ODataAttributeRouting>]
type ODataController = class
    inherit ControllerBase
Public MustInherit Class ODataController
Inherits ControllerBase
Inheritance
ODataController
Attributes

Constructors

ODataController()

Methods

Created<TEntity>(TEntity)

Creates an action result with the specified values that is a response to a POST operation with an entity to an entity set.

Updated<TEntity>(TEntity)

Creates an action result with the specified values that is a response to a PUT, PATCH, or a MERGE operation on an OData entity.

Applies to