Datasnap.Provider.TGetRecordOptions
Delphi
type TGetRecordOptions = set of TGetRecordOption;
C++
typedef System::Set<TGetRecordOption, TGetRecordOption::grMetaData, TGetRecordOption::grXMLUTF8> TGetRecordOptions;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
set typedef |
public | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | Datasnap.Provider |
Description
TGetRecordOptions is used to decide what type of information is added to data packets.
TGetRecordOptions is a set of TGetRecordOption values. TGetRecordOption values are listed in the following table.
Value | Meaning |
---|---|
grMetaData |
The data packet includes metadata as well as record values. |
grReset |
The records in the data packet start with the first record, regardless of the contents of any previously sent data packets. |
grXML |
The data packet is transmitted as a string of XML instead of as an OleVariant. Extended characters are expressed using escape sequences. |
grXMLUTF8 |
The data packet is transmitted as a string of XML instead of as an OleVariant. Extended characters are encoded using UTF-8. |