mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Synchronization code
This commit is contained in:
parent
9c82190169
commit
2b1ff9f968
@ -35,6 +35,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return this.Context.GetSimpleClient<ChangeType>();
|
return this.Context.GetSimpleClient<ChangeType>();
|
||||||
}
|
}
|
||||||
|
public void CopyNew()
|
||||||
|
{
|
||||||
|
this.Context = this.Context.CopyNew();
|
||||||
|
}
|
||||||
public RepositoryType CopyNew<RepositoryType>() where RepositoryType : ISugarRepository
|
public RepositoryType CopyNew<RepositoryType>() where RepositoryType : ISugarRepository
|
||||||
{
|
{
|
||||||
Type type = typeof(RepositoryType);
|
Type type = typeof(RepositoryType);
|
||||||
|
Loading…
Reference in New Issue
Block a user