mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Update CopyNew
This commit is contained in:
parent
99687f308b
commit
6334d9e8a5
@ -1242,7 +1242,11 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public SqlSugarClient CopyNew()
|
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;
|
result.QueryFilter = this.QueryFilter;
|
||||||
if (_AllClients != null)
|
if (_AllClients != null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user