mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-26 10:49:20 +08:00
Update CopyNew
This commit is contained in:
@@ -1242,7 +1242,11 @@ namespace SqlSugar
|
||||
}
|
||||
public SqlSugarClient CopyNew()
|
||||
{
|
||||
var result= new SqlSugarClient(UtilMethods.CopyConfig(this.Ado.Context.CurrentConnectionConfig),_configAction);
|
||||
SqlSugarClient result;
|
||||
if(_configAction!=null)
|
||||
result=new SqlSugarClient(UtilMethods.CopyConfig(this.Ado.Context.CurrentConnectionConfig),_configAction);
|
||||
else
|
||||
result = new SqlSugarClient(UtilMethods.CopyConfig(this.Ado.Context.CurrentConnectionConfig));
|
||||
result.QueryFilter = this.QueryFilter;
|
||||
if (_AllClients != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user