Datasnap.DBClient.TCustomClientDataSet.DataConvert

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DataConvert(Field: TField; Source: TValueBuffer; var Dest: TValueBuffer; ToNative: Boolean); overload; override;
procedure DataConvert(Field: TField; Source, Dest: Pointer; ToNative: Boolean); overload; override; deprecated 'Use overloaded method instead';

C++

virtual void __fastcall DataConvert(Data::Db::TField* Field, System::DynamicArray<System::Byte> Source, System::DynamicArray<System::Byte> &Dest, bool ToNative)/* overload */;
virtual void __fastcall DataConvert _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (Data::Db::TField* Field, void * Source, void * Dest, bool ToNative)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomClientDataSet

Description

Converts the data depending on the field type.

Datasnap.DBClient.TCustomClientDataSet.DataConvert inherits from Data.DB.TDataSet.DataConvert. All content below this line refers to Data.DB.TDataSet.DataConvert.

Converts the data depending on the field type.

DataConvert converts the data from Source to Dest depending on the Field parameter type. ToNative specifies if the destination is in the dataset table or not. The method is internally used to get field data or to set field data.


See Also