Click or drag to resize

ITypedViewGetDbCount Method (Boolean, IPredicateExpression, GroupByCollection)

Gets the amount of rows in the database for this typed view.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax
int GetDbCount(
	bool allowDuplicates,
	IPredicateExpression filter,
	GroupByCollection groupByClause
)

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
groupByClause
Type: SD.LLBLGen.Pro.ORMSupportClassesGroupByCollection
group by clause to embed in the query

Return Value

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