SubSonic SqlQuery, get count of records on paged query
I have a large table that must join to multiple Tables, I have a query with several conditions that user may fill some of them. I used paged method of SqlQuery. 开发者_如何学运维Now, how can I get total record count? I want to implement paging on gridview and don't know how many records my query will return?
Paged should return a PageList which has TotalPages and TotalRecords properties on it.
精彩评论