Click or drag to resize
TypedListBase<T>.GetDbCount Method (Boolean, IPredicateExpression, IRelationCollection, GroupByCollection)
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.0.0.0 (5.0.0)
Syntax
public virtual int GetDbCount(
	bool allowDuplicates,
	IPredicateExpression filter,
	IRelationCollection relations,
	GroupByCollection groupByClause
)

Parameters

allowDuplicates
Type: System.Boolean
Flag to allow duplicate rows (true) or not (false)
filter
Type: SD.LLBLGen.Pro.ORMSupportClasses.IPredicateExpression
The filter to apply for the count retrieval
relations
Type: SD.LLBLGen.Pro.ORMSupportClasses.IRelationCollection
The relations for the filter to apply
groupByClause
Type: SD.LLBLGen.Pro.ORMSupportClasses.GroupByCollection
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

Implements

ITypedListLgp.GetDbCount(Boolean, IPredicateExpression, IRelationCollection, GroupByCollection)
See Also