public override string BuildPageQuery(long skip, long take, PagingHelper.SQLParts parts, ref object[] args) { if (parts.sqlSelectRemoved.StartsWith("*")) { throw new Exception("Query must alias '*' when performing a paged query.\neg. select t.* from table t order by t.id"); } // Same deal as SQL Server return(PagingHelper.BuildPaging(skip, take, parts, ref args)); }
public override string BuildPageQuery(long skip, long take, PagingHelper.SQLParts parts, ref object[] args) { return(PagingHelper.BuildPaging(skip, take, parts, ref args)); }