Table of Contents

TXDataSchema.FindOrDefineConverter Method

Returns the URL converter of a type, creating it when needed.

Syntax

Unit: XData.Model.Classes

function TXDataSchema.FindOrDefineConverter(AType: TXDataType): TXDataTypeConverter;

Parameters

<-> Parameter Type Description
AType TXDataType The type to get the converter for.

Returns

The converter already assigned to the type, the one registered in the model for the type name, or a new converter for enumerated types. Returns nil if no converter is available.

See also