Browse Source

Update Core

pull/18/MERGE
sunkaixuan 3 years ago
parent
commit
86a486d0a7
  1. 3
      Src/Asp.NetCore2/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

3
Src/Asp.NetCore2/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

@ -1048,7 +1048,8 @@ namespace SqlSugar
this.QueryBuilder.Take == null&&
this.QueryBuilder.OrderByValue == null &&
this.QueryBuilder.PartitionByValue == null&&
this.QueryBuilder.SelectValue==null)
this.QueryBuilder.SelectValue==null&&
this.QueryBuilder.Includes == null)
{
return this.Clone().Select<int>(" COUNT(1) ").ToList().First();

Loading…
Cancel
Save