Azavea.Open.DAO.Memory.MemoryDaLayer.GetCount C# (CSharp) Method

GetCount() public method

Gets a count of records for the given criteria, aggregated by the given grouping expressions. This matches "GROUP BY" behavior in SQL.
public GetCount ( ITransaction transaction, ClassMapping mapping, DaoCriteria crit, ICollection groupExpressions ) : List
transaction ITransaction The transaction to do this as part of.
mapping ClassMapping The mapping of the table for which to build the query string.
crit Azavea.Open.DAO.Criteria.DaoCriteria The criteria to use for "where" comparisons.
groupExpressions ICollection The fields/expressions to aggregate on when counting.
return List
        public override List<GroupCountResult> GetCount(ITransaction transaction, ClassMapping mapping,
            DaoCriteria crit, ICollection<AbstractGroupExpression> groupExpressions)
        {
            throw new NotImplementedException();
        }

Same methods

MemoryDaLayer::GetCount ( ITransaction transaction, ClassMapping mapping, DaoCriteria crit ) : int