mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-25 01:14:33 +08:00
Synchronization code
This commit is contained in:
parent
3329eb0f48
commit
18b79841cb
@ -267,11 +267,11 @@ namespace SqlSugar
|
|||||||
DataTable tempDataTable = null;
|
DataTable tempDataTable = null;
|
||||||
if (AsName == null)
|
if (AsName == null)
|
||||||
{
|
{
|
||||||
tempDataTable = queryable.Where(it => false).Select(string.Join(",", dts)).ToDataTable();
|
tempDataTable = queryable.Clone().Where(it => false).Select(string.Join(",", dts)).ToDataTable();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
tempDataTable = queryable.AS(AsName).Where(it => false).Select(string.Join(",", dts)).ToDataTable();
|
tempDataTable = queryable.Clone().AS(AsName).Where(it => false).Select(string.Join(",", dts)).ToDataTable();
|
||||||
};
|
};
|
||||||
List<string> uInt64TypeName = new List<string>();
|
List<string> uInt64TypeName = new List<string>();
|
||||||
foreach (DataColumn item in tempDataTable.Columns)
|
foreach (DataColumn item in tempDataTable.Columns)
|
||||||
|
Loading…
Reference in New Issue
Block a user