ITypedListLgpGetDbCount Method (Boolean, IPredicateExpression, IRelationCollection) |
Gets the amount of rows in the database for this typed list.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax int GetDbCount(
bool allowDuplicates,
IPredicateExpression filter,
IRelationCollection relations
)
Function GetDbCount (
allowDuplicates As Boolean,
filter As IPredicateExpression,
relations As IRelationCollection
) As Integer
Parameters
- allowDuplicates
- Type: SystemBoolean
Flag to allow duplicate rows (true) or not (false) - filter
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicateExpression
The filter to apply for the count retrieval - relations
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The relations for the filter to apply
Return Value
Type:
Int32the number of rows in the set defined by the passed in query elements
See Also