Could it be possible to generate the GetDbCount method for TVF mapped TypedViews?
It should be quite straight forward. Something like:
public virtual int GetDbCount(string alias, System.DateTime orderDateStart, System.DateTime orderDateEnd,
System.Int16 orderCount, bool allowDuplicates, IPredicate selectFilter, IGroupByCollection groupByClause)
{
var relations = new RelationCollection(new DynamicRelation(TvfCallFactory.FxOrdersByDateRangeAndCount(alias,
orderDateStart, orderDateEnd, orderCount))) { SelectListAlias = alias };
return DAOFactory.CreateTypedListDAO().GetDbCount(GetFields(), null, selectFilter, relations, groupByClause, allowDuplicates);
}
(It works)
Best regards