Table of Contents

TXDataBaseModel.FindSchema Method

Looks for a schema by its namespace or alias.

Syntax

Unit: XData.Model.Classes

function TXDataBaseModel.FindSchema(const APrefix: string): TXDataSchema;

Parameters

<-> Parameter Type Description
const APrefix string The namespace or the alias of the schema. The comparison is case-insensitive.

Returns

The schema, or nil if it is not found.

See also