IMapperRecordCount Property |
Returns the number of records in the current filter. Note that this number is not limited
by paging. For example, if on a datasheet displaying the first 10 records out of 53 records
matching the filter, RecordCount will return 53.
Note that calling RecordCount may require an additional database query and should be avoided
when possible. If the intent is to determine if there are zero vs. one or more records
use
HasRecords instead which never requires an additional query.
Note that you can use
RecordCountSafe to obtain the record count
without the possibility of an error being thrown.
Namespace:
NetQuarry.Data
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax ReadOnly Property RecordCount As Integer
Get
Property Value
Type:
Int32See Also