mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
-
This commit is contained in:
@@ -176,10 +176,7 @@ namespace SqlSugar
|
||||
{
|
||||
return Context.Queryable<T>().ToList();
|
||||
}
|
||||
public int Count(Expression<Func<T, bool>> whereExpression)
|
||||
{
|
||||
return Context.Queryable<T>().Where(whereExpression).Count();
|
||||
}
|
||||
|
||||
public List<T> GetList(Expression<Func<T, bool>> whereExpression)
|
||||
{
|
||||
return Context.Queryable<T>().Where(whereExpression).ToList();
|
||||
|
Reference in New Issue
Block a user