ITypedListLgpFill Method (Int64, ISortExpression, Boolean) |
Fills itself with data. it builds a dynamic query and loads itself with that query.
Will not use a filter.
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax bool Fill(
long maxNumberOfItemsToReturn,
ISortExpression sortClauses,
bool allowDuplicates
)
Function Fill (
maxNumberOfItemsToReturn As Long,
sortClauses As ISortExpression,
allowDuplicates As Boolean
) As Boolean
Parameters
- maxNumberOfItemsToReturn
- Type: SystemInt64
The maximum amount of rows to return. specifying 0 means all rows are returned - sortClauses
- Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
The order by specifications for the sorting of the resultset. When null is specified, no sorting is applied. - allowDuplicates
- Type: SystemBoolean
Flag to allow duplicate rows (true) or not (false)
Return Value
Type:
Booleantrue if fill succeeded, false otherwise
See Also