blockReadSize property
int
get
blockReadSize
Implementation
int get blockReadSize => _blockReadSize;
set
blockReadSize
(int aValue)
Implementation
set blockReadSize(int aValue) {
// the state is changed even when setting the same BlockReadSize
// (follows Delphi behavior) (original comment kept as-is)
_blockReadSize = aValue;
if (aValue > 0) {
checkActive();
setState(TDataSetState.dsBlockRead);
} else {
// update state only when in dsBlockRead
if (_state == TDataSetState.dsBlockRead) {
setState(TDataSetState.dsBrowse);
}
}
}