SqlQuery.CountRecords property

namespace: Serenity.Data   assemblySerenity.Net.Data

Gets/sets the flag to get the total record count when paging is used by SKIP/TAKE. A secondary query without SKIP/TAKE is generated to get total record count, when this property is true.

public bool CountRecords { get; set; }

See Also