Ejemplo n.º 1
0
        public virtual long Count(Expression <Func <TEntity, bool> > whereCondition)
        {
            var result = CurrentRepository.Count(whereCondition);

            return(result);
        }
Ejemplo n.º 2
0
        public virtual long Count()
        {
            var result = CurrentRepository.Count(null);

            return(result);
        }
Ejemplo n.º 3
0
 public int Count()
 {
     return(CurrentRepository.Count(it => it.state.HasValue && it.state.Value != 0));
 }