Table of Contents

TXDataTypeConverter Class

Base class for the converters that convert values of a type to and from the literals used in URLs.

Remarks

URL literals are used, for example, in the key of an entity (Customer(15)) and in the query and path parameters of service operations.

Syntax

Unit: XData.Model.Classes

TXDataTypeConverter = class(TObject);

Methods

Name Description
UrlToValue Converts a URL literal to a value.
ValueToUrl Converts a value to its URL literal.

Properties

Name Description
XDataType Gets the scalar type handled by the converter.