Method | Description | |
---|---|---|
GetPagingSql ( string tableName, string columns, string orderBy, string where, int pageSize, int currentPage ) : string |
Gets the SQL statement for paging given the supplied information.
|
public GetPagingSql ( string tableName, string columns, string orderBy, string where, int pageSize, int currentPage ) : string | ||
tableName | string | Name of the table. |
columns | string | The columns. |
orderBy | string | The order by. |
where | string | The where. |
pageSize | int | Size of the page. |
currentPage | int | The current page. |
return | string |