mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update SimpleClient
This commit is contained in:
@@ -18,6 +18,7 @@ namespace SqlSugar
|
|||||||
ITenant AsTenant();
|
ITenant AsTenant();
|
||||||
IUpdateable<T> AsUpdateable(List<T> updateObjs);
|
IUpdateable<T> AsUpdateable(List<T> updateObjs);
|
||||||
IUpdateable<T> AsUpdateable(T updateObj);
|
IUpdateable<T> AsUpdateable(T updateObj);
|
||||||
|
IUpdateable<T> AsUpdateable();
|
||||||
IUpdateable<T> AsUpdateable(T[] updateObjs);
|
IUpdateable<T> AsUpdateable(T[] updateObjs);
|
||||||
int Count(Expression<Func<T, bool>> whereExpression);
|
int Count(Expression<Func<T, bool>> whereExpression);
|
||||||
bool Delete(Expression<Func<T, bool>> whereExpression);
|
bool Delete(Expression<Func<T, bool>> whereExpression);
|
||||||
|
@@ -74,6 +74,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return Context.Updateable<T>(updateObjs);
|
return Context.Updateable<T>(updateObjs);
|
||||||
}
|
}
|
||||||
|
public IUpdateable<T> AsUpdateable()
|
||||||
|
{
|
||||||
|
return Context.Updateable<T>();
|
||||||
|
}
|
||||||
public IDeleteable<T> AsDeleteable()
|
public IDeleteable<T> AsDeleteable()
|
||||||
{
|
{
|
||||||
return Context.Deleteable<T>();
|
return Context.Deleteable<T>();
|
||||||
|
Reference in New Issue
Block a user