Table of Contents

TXDataSchema.FindController Method

Looks for a controller of the schema by its name.

Syntax

Unit: XData.Model.Classes

function TXDataSchema.FindController(const AName: string): TXDataController;

Parameters

<-> Parameter Type Description
const AName string The name (route) of the controller.

Returns

The controller, or nil if it is not found.

See also