Data.DB.TDataSet.Buffers

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Buffers[Index: Integer]: TRecBuf read GetBuffer;

C++

__property NativeInt Buffers[int Index] = {read=GetBuffer};

Properties

Type Visibility Source Unit Parent
property protected
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

Provides indexed access to the record buffers in the internal cache.

All TDataSet descendants except for unidirectional datasets maintain an internal cache of records from the underlying database table. For example, if the dataset is used to populate a data-aware grid, the cache includes a record for each row in the grid.

For datasets that cache records, each entry in Buffers points to a record buffer in the internal cache. The BufferCount property specifies the total number of record buffers in the cache.

See Also