Click or drag to resize

EntityCollectionBaseTEntityIEntityCollectionGetDbCount Method (IPredicate, IRelationCollection)

Gets the amount of Entity objects in the database, when taking into account the filter specified and the relations specified.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
int IEntityCollection.GetDbCount(
	IPredicate filter,
	IRelationCollection relations
)

Parameters

filter
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
the filter to apply
relations
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The relations to walk

Return Value

Type: Int32
the amount of objects found

Implements

IEntityCollectionGetDbCount(IPredicate, IRelationCollection)
See Also