Table of Contents

XData.Service.Common Namespace

Classes

Name Description
ConsumesAttribute Defines the content type of the request body accepted by a service operation.
FromBodyAttribute Makes a service operation parameter be read from the request body.
FromPathAttribute Makes a service operation parameter be read from a segment of the request URL path.
FromQueryAttribute Makes a service operation parameter be read from the query string of the request URL.
HttpDeleteAttribute Makes a service operation respond to the DELETE HTTP method.
HttpGetAttribute Makes a service operation respond to the GET HTTP method.
HttpMethodAttribute Base class of the attributes that define the HTTP method a service operation responds to.
HttpPatchAttribute Makes a service operation respond to the PATCH HTTP method.
HttpPostAttribute Makes a service operation respond to the POST HTTP method.
HttpPutAttribute Makes a service operation respond to the PUT HTTP method.
ParamBinding​Attribute Base class of the attributes that define from which part of the request a service operation parameter is read.
ServiceContract​Attribute Flags an interface as a service contract, whose methods are published as service operations.
ServiceImplementation​Attribute Flags a class as the implementation of a service contract.
SwaggerExclude​Attribute Excludes an item from the generated OpenAPI (Swagger) document.
URIPathSegment​Attribute Defines the URL path of a service contract, a service operation, or an entity set.
ValidateParams​Attribute Enables the validation of the parameters of service operations.
XDefaultAttribute Defines the default value of a service operation parameter, or of a member of a class used by the API.
XDefaultNil Defines nil as the default value of a service operation parameter of a class type.