Jaa


MetadataController Class

Definition

Represents a controller for generating OData servicedoc and metadata document ($metadata).

public class MetadataController : Microsoft.AspNet.OData.ODataController
type MetadataController = class
    inherit ODataController
Public Class MetadataController
Inherits ODataController
Inheritance
MetadataController
Inheritance
MetadataController

Constructors

MetadataController()

Methods

BadRequest(ODataError) (Inherited from ODataController)
BadRequest(String) (Inherited from ODataController)
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.

(Inherited from ODataController)
Dispose(Boolean)

Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources.

(Inherited from ODataController)
GetMetadata()

Generates the OData $metadata document.

GetServiceDocument()

Generates the OData service document.

NotFound(ODataError) (Inherited from ODataController)
NotFound(String) (Inherited from ODataController)
ODataErrorResult(ODataError) (Inherited from ODataController)
ODataErrorResult(String, String) (Inherited from ODataController)
Unauthorized(ODataError) (Inherited from ODataController)
Unauthorized(String) (Inherited from ODataController)
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.

(Inherited from ODataController)

Applies to