Add SimpleClient.Change

This commit is contained in:
skx
2021-01-07 23:30:22 +08:00
parent d3a41104b7
commit a425256ca4

View File

@@ -30,7 +30,10 @@ namespace SqlSugar
{ {
this.Context = context; this.Context = context;
} }
public SimpleClient<ChangeType> Change<ChangeType>() where ChangeType : class, new()
{
return this.Context.GetSimpleClient<ChangeType>();
}
public ISugarQueryable<T> AsQueryable() public ISugarQueryable<T> AsQueryable()
{ {
return Context.Queryable<T>(); return Context.Queryable<T>();