Click or drag to resize
ITypedListLgp.Fill Method (Int64, ISortExpression, Boolean, IPredicate, ITransaction)
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.2.0.0 (5.2.17.0403)
Syntax
bool Fill(
	long maxNumberOfItemsToReturn,
	ISortExpression sortClauses,
	bool allowDuplicates,
	IPredicate selectFilter,
	ITransaction transactionToUse
)

Parameters

maxNumberOfItemsToReturn
Type: System.Int64
The maximum amount of rows to return. specifying 0 means all rows are returned
sortClauses
Type: SD.LLBLGen.Pro.ORMSupportClasses.ISortExpression
The order by specifications for the sorting of the resultset. When null is specified, no sorting is applied.
allowDuplicates
Type: System.Boolean
Flag to allow duplicate rows (true) or not (false)
selectFilter
Type: SD.LLBLGen.Pro.ORMSupportClasses.IPredicate
Predicate which is used to filter the rows to insert in this Typed List instance
transactionToUse
Type: SD.LLBLGen.Pro.ORMSupportClasses.ITransaction
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.

Return Value

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