mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-05 03:17:41 +08:00
Synchronization code
This commit is contained in:
@@ -210,6 +210,11 @@ namespace SqlSugar
|
||||
}
|
||||
private DataTable GetCopyWriteDataTable(DataTable dt)
|
||||
{
|
||||
var builder = GetBuider();
|
||||
if (builder.DbFastestProperties?.IsNoCopyDataTable == true)
|
||||
{
|
||||
return dt;
|
||||
}
|
||||
DataTable tempDataTable = null;
|
||||
if (AsName == null)
|
||||
{
|
||||
|
||||
@@ -12,5 +12,6 @@ namespace SqlSugar
|
||||
public string[] WhereColumns { get; set; }
|
||||
public bool IsOffIdentity { get; set; }
|
||||
public bool IsMerge { get; set; }
|
||||
public bool IsNoCopyDataTable { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace SqlSugar
|
||||
public string CharacterSet { get; set; }
|
||||
private DataTable UpdateDataTable { get; set; }
|
||||
public bool IsActionUpdateColumns { get; set; }
|
||||
public DbFastestProperties DbFastestProperties { get; set; } = new DbFastestProperties();
|
||||
public DbFastestProperties DbFastestProperties { get; set; } = new DbFastestProperties() { IsNoCopyDataTable=true};
|
||||
public SqliteFastBuilder(EntityInfo entityInfo)
|
||||
{
|
||||
this.entityInfo = entityInfo;
|
||||
|
||||
Reference in New Issue
Block a user