TXDataController Class
Represents a controller, which groups the service operations defined by a service contract interface.
Syntax
Unit: XData.Model.Classes
TXDataController = class(TXDataModelObject);
Constructors
| Name | Description |
|---|---|
| Create | Creates a controller with no service operations. |
Properties
| Name | Description |
|---|---|
| Actions | Gets the service operations of the controller. |
| Name | Gets or sets the route of the controller, which prefixes the routes of its service operations. |
| RouteInfo2 | Gets the route of the controller. |
| Schema | Gets the schema the controller belongs to. |
| ServiceClass | Gets or sets the class that implements the service contract. |
| TagGroup | Gets or sets the tag group the tag of the controller belongs to in the generated API documentation. |
| TagName | Gets or sets the tag under which the service operations of the controller are grouped in the generated API documentation. |