public virtual int Count(Expression <Func <T, bool> > @where = null) { return(DbContext.Count(where)); }
public virtual int Count <T>(Expression <Func <T, bool> > @where = null) where T : class, new() { return(DbContext.Count(where)); }