DataAccessAdapterCoreGetDbCount Method (IEntityFields2, IRelationPredicateBucket) |
Gets the number of rows returned by a query for the fields specified, using the filter and groupby clause specified.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax Remarks This method performs a SELECT COUNT(*) FROM (actual query) and executes that as a scalar query. This construct is not supported on
Firebird. You can try to achieve the same results by using GetScalar and AggregateFunction.CountRow, though those results can differ from
the result returned by GetDbCount if you use a group by clause.
See Also