Hi Walaa,
Yes, the projection is based on EntityFields and ultimately pushed into
void FetchProjection(List<IDataValueProjector> valueProjectors, IGeneralDataProjector projector, IEntityFields2 fields, IRelationPredicateBucket filter, int maxNumberOfItemsToReturn, ISortExpression sortClauses, IGroupByCollection groupByClause, bool allowDuplicates, int pageNumber, int pageSize);
Would it be possible to do a DbCount-like call using the same values except paging to have the database count the total number of rows instead of us fetching all rows before knowing the total count?
Best, Dick