TXDataBaseModel.FindController Method
Looks for a controller in all the schemas of the model.
Syntax
Unit: XData.Model.Classes
function TXDataBaseModel.FindController(const AName: string): TXDataController;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | AName | string | The name (route) of the controller. The comparison is case-insensitive. |
Returns
The first controller found, or nil if it is not found.