mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-22 02:51:58 +08:00
Update db.CopyNew
This commit is contained in:
@@ -1427,7 +1427,9 @@ namespace SqlSugar
|
||||
}
|
||||
public SqlSugarClient CopyNew()
|
||||
{
|
||||
return new SqlSugarClient(UtilMethods.CopyConfig(this.Ado.Context.CurrentConnectionConfig));
|
||||
var result= new SqlSugarClient(UtilMethods.CopyConfig(this.Ado.Context.CurrentConnectionConfig));
|
||||
result.QueryFilter = this.QueryFilter;
|
||||
return result;
|
||||
}
|
||||
public void ThenMapper<T>(IEnumerable<T> list, Action<T> action)
|
||||
{
|
||||
|
||||
@@ -1065,7 +1065,9 @@ namespace SqlSugar
|
||||
}
|
||||
public SqlSugarClient CopyNew()
|
||||
{
|
||||
return new SqlSugarClient(UtilMethods.CopyConfig(this.Ado.Context.CurrentConnectionConfig));
|
||||
var result= new SqlSugarClient(UtilMethods.CopyConfig(this.Ado.Context.CurrentConnectionConfig));
|
||||
result.QueryFilter = this.QueryFilter;
|
||||
return result;
|
||||
}
|
||||
public DateTime GetDate()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user