mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 18:48:09 +08:00
Add SimpleClient.Change
This commit is contained in:
@@ -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>();
|
||||||
|
Reference in New Issue
Block a user