Click or drag to resize
TypedListBaseTGetDbCount Method (Boolean, IPredicateExpression)
Gets the number 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.3.0.0 (5.3.0)
Syntax
public int GetDbCount(
	bool allowDuplicates,
	IPredicateExpression filter
)

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

Return Value

Type: Int32
the number of rows in the set defined by the passed in query elements

Implements

ITypedListLgpGetDbCount(Boolean, IPredicateExpression)
See Also