C# Class SqlFu.Builders.PagedQueryBuilder

Show file Open project: sapiens/SqlFu

Public Methods

Method Description
Build ( string sql, object args, Pagination page ) : PagedBuilderResult
PagedQueryBuilder ( TableInfo info, IDbProvider provider ) : System

Private Methods

Method Description
GetCountSql ( string sql ) : string
GetPagingBody ( string sql, int &fromidx ) : string

Method Details

Build() public method

public Build ( string sql, object args, Pagination page ) : PagedBuilderResult
sql string
args object
page Pagination
return PagedBuilderResult

PagedQueryBuilder() public method

public PagedQueryBuilder ( TableInfo info, IDbProvider provider ) : System
info SqlFu.Configuration.Internals.TableInfo
provider IDbProvider
return System