Data.DB.TDataSet.BufferCount

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSet

Delphi

property BufferCount: Integer read FBufferCount;

C++

__property int BufferCount = {read=FBufferCount, nodefault};

Description

Indicates the number of records in the internal cache.

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

BufferCount is read-only. An associated TDataLink object determines its value.

See Also