Datasnap.DBClient.TCustomClientDataSet.InternalAddRecord

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InternalAddRecord(Buffer: TRecBuf; Append: Boolean); overload; override;
procedure InternalAddRecord(Buffer: TRecordBuffer; Append: Boolean); overload; override; deprecated 'Use overloaded method instead';
procedure InternalAddRecord(Buffer: Pointer; Append: Boolean); overload; override; deprecated 'Use overloaded method instead';

C++

virtual void __fastcall InternalAddRecord(NativeInt Buffer, bool Append)/* overload */;
virtual void __fastcall InternalAddRecord _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer, bool Append)/* overload */;
virtual void __fastcall InternalAddRecord _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (void * Buffer, bool Append)/* overload */;

Properties

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

Description

Adds a record to the dataset.

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

Adds a record to the dataset.

InternalAddRecord is internally called when a record is added to the dataset. The method is virtual and blank, so every TDataSet descendant must override this method in its specific way. The Buffer parameter is a pointer to the record to add. When the Append parameter is True, the record is appended to the dataset; when it is False, the record is inserted in the dataset. The position of the appended/inserted record depends on the database type.

See Also