Synchronization code

This commit is contained in:
sunkaixuan 2023-04-20 18:17:21 +08:00
parent 9c82190169
commit 2b1ff9f968

View File

@ -35,6 +35,10 @@ namespace SqlSugar
{
return this.Context.GetSimpleClient<ChangeType>();
}
public void CopyNew()
{
this.Context = this.Context.CopyNew();
}
public RepositoryType CopyNew<RepositoryType>() where RepositoryType : ISugarRepository
{
Type type = typeof(RepositoryType);