Skip to main content

ClientDataType (Class Keyword)

Specifies the client data type used when this data type is projected to client technologies. Applies only to data type classes.

Usage

To specify the client data type to use when this data type is projected to client technologies, use the following syntax:

Class MyApp.MyString [ ClientDataType = clienttype ]  
{ //class members }

Where clienttype is one of the following:

  • BIGINT

  • BINARY

  • BINARYSTREAM

  • BOOLEAN

  • CHARACTERSTREAM

  • CURRENCY

  • DATE

  • DECIMAL

  • DOUBLE

  • FDATE

  • FTIMESTAMP

  • HANDLE

  • INTEGER

  • LIST

  • LONGVARCHAR

  • NUMERIC

  • STATUS

  • TIME

  • TIMESTAMP

  • VARCHAR (default)

Details

This keyword specifies the client data type used when this class is projected to client technologies. Every data type class must specify a client data type.

Effect on Subclasses

This keyword is inherited from the primary superclass. The subclass can override the value of the keyword.

Default

The default client data type is VARCHAR.

See Also

FeedbackOpens in a new tab