Browse Source

Synchronization code

pull/32/head
sunkaixuan 2 years ago
parent
commit
2b1ff9f968
  1. 4
      Src/Asp.NetCore2/SqlSugar/SimpleClient.cs

4
Src/Asp.NetCore2/SqlSugar/SimpleClient.cs

@ -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);

Loading…
Cancel
Save