Click or drag to resize
ITypedViewFill Method (Int64, ISortExpression, Boolean, IPredicate, ITransaction, IGroupByCollection, Int32, Int32)
Fills itself with data. it builds a dynamic query and loads itself with that query, using the specified filter

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: (5.3.0)
bool Fill(
	long maxNumberOfItemsToReturn,
	ISortExpression sortClauses,
	bool allowDuplicates,
	IPredicate selectFilter,
	ITransaction transactionToUse,
	IGroupByCollection groupByClause,
	int pageNumber,
	int pageSize


Type: SystemInt64
The maximum amount of rows to return. specifying 0 means all rows are returned
Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
The order by specifications for the sorting of the resultset. When null is specified, no sorting is applied.
Type: SystemBoolean
Flag to allow duplicate rows (true) or not (false)
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
Predicate expression to filter on the rows inserted in this TypedView object.
Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
The transaction object to use. Can be null. If specified, the connection object of the transaction is used to fill the TypedView, which avoids deadlocks on SqlServer.
Type: SD.LLBLGen.Pro.ORMSupportClassesIGroupByCollection
GroupByCollection with fields to group by on.
Type: SystemInt32
the page number to retrieve. First page is 1. When set to 0, no paging logic is applied
Type: SystemInt32
the size of the page. When set to 0, no paging logic is applied

Return Value

Type: Boolean
true if fill succeeded, false otherwise
See Also