public ProjectListDataSource(ProjectQueryExecuter queryExecuter, bool useFieldDescription, int pageSize) : base(queryExecuter, useFieldDescription, false) { this.pageSize = pageSize; pageCount = 0; fetchPage(); }
/// <summary> /// Creates a Hibernate data source. /// </summary> /// <param name="queryExecuter"> the query executer </param> /// <param name="useFieldDescription"> whether to use field descriptions for fields to results mapping </param> /// <param name="useIndexOnSingleReturn"> whether to use indexed addressing even when the query has only one return column </param> protected internal ProjectDataSource(ProjectQueryExecuter queryExecuter, bool useFieldDescription, bool useIndexOnSingleReturn) { this.useFieldDescription = useFieldDescription; this.queryExecuter = queryExecuter; fieldReaders = assignReaders(useIndexOnSingleReturn); }
public ProjectScrollDataSource(ProjectQueryExecuter queryExecuter, bool useFieldDescription) : base(queryExecuter, useFieldDescription, true) { scrollableResults = queryExecuter.scroll(); }
public ProjectIterateDataSource(ProjectQueryExecuter queryExecuter, bool useFieldDescription) : base(queryExecuter, useFieldDescription, false) { moveFirst(); }