TRecordCountMode Enumeration
Controls how the total record count is determined when records are fetched incrementally from a data source.
Remarks
Used by the RecordCountMode property of TBaseAureliusDataset.
Default -- RecordCount returns -1 until all records have been fetched.
Retrieve -- an extra database statement is executed to obtain the total count without fetching all records, at the cost of one additional query.
FetchAll -- all records are fetched from the database before the count is returned, giving an accurate result at maximum performance cost.
Syntax
Unit: Aurelius.Bind.BaseDataset
Members
| Name | Value | Description |
|---|---|---|
| Default | 0 | |
| Retrieve | 1 | |
| FetchAll | 2 |