Browse Source

Update core

pull/12/head
sunkaixuna 3 years ago
parent
commit
a30c9adcde
  1. 2
      Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

2
Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

@ -829,7 +829,7 @@ namespace SqlSugar
}
public virtual bool Any()
{
return this.Select("1").First()!=null;
return this.Select("1").ToList().Count() > 0;
}
public virtual ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, TResult>> expression)

Loading…
Cancel
Save