FireDAC.Stan.Option.TFDFormatOptions
Delphi
TFDFormatOptions = class (TFDCustomOptions)
C++
class PASCALIMPLEMENTATION TFDFormatOptions : public TFDCustomOptions
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | FireDAC.Stan.Option |
Description
The set of options for controlling the representation of fetched or sending data.
The TFDFormatOptions class represents the set of properties controlling how FireDAC components and Phys Layer command interfaces represent and process the data returned by DBMS or sent to DBMS:
- String data type (StrsEmpty2Null, StrsTrim, StrsTrim2Len, InlineDataSize, MaxStringSize)
- Numeric data type (MaxBcdPrecision, MaxBcdScale, Round2Scale)
- Time data type (Round2Scale)
- General data type mapping (MapRules, OwnMapRules, DefaultParamDataType). For example, it is possible to map all NUMERIC(9, 0) columns to ftInteger columns, etc.
- Field display formats (FmtDisplayDateTime, FmtDisplayDate, FmtDisplayTime, FmtDisplayNumeric, FmtEditNumeric)
- Dataset sorting (SortLocale, SortOptions)
- Identifier quotations (QuoteIdentifiers)