mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Rest Queryable.Any()
This commit is contained in:
@@ -384,7 +384,9 @@ namespace SqlSugar
|
|||||||
public virtual bool Any(Expression<Func<T, bool>> expression)
|
public virtual bool Any(Expression<Func<T, bool>> expression)
|
||||||
{
|
{
|
||||||
_Where(expression);
|
_Where(expression);
|
||||||
return Any();
|
var result= Any();
|
||||||
|
this.QueryBuilder.WhereInfos.Remove(this.QueryBuilder.WhereInfos.Last());
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
public virtual bool Any()
|
public virtual bool Any()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user