MetadataController Class
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.
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
- Inheritance
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) |