Browse Source

Synchronization code

pull/40/head
sunkaixuan 1 year ago
parent
commit
9f291d245d
  1. 4
      Src/Asp.NetCore2/SqlSugar/Abstract/FastestProvider/Private.cs

4
Src/Asp.NetCore2/SqlSugar/Abstract/FastestProvider/Private.cs

@ -179,11 +179,11 @@ namespace SqlSugar
DataTable tempDataTable = null;
if (AsName == null)
{
tempDataTable=queryable.Where(it => false).Select("*").ToDataTable();
tempDataTable=queryable.Clone().Where(it => false).Select("*").ToDataTable();
}
else
{
tempDataTable=queryable.AS(AsName).Where(it => false).Select("*").ToDataTable();
tempDataTable=queryable.Clone().AS(AsName).Where(it => false).Select("*").ToDataTable();
};
List<string> uInt64TypeName = new List<string>();
foreach (DataColumn item in tempDataTable.Columns)

Loading…
Cancel
Save