mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-19 17:51:36 +08:00
-
This commit is contained in:
@@ -102,7 +102,7 @@ namespace SqlSugar
|
||||
}
|
||||
public bool Update<T>(Expression<Func<T, T>> columns, Expression<Func<T, bool>> whereExpression) where T : class, new()
|
||||
{
|
||||
return this.Context.Updateable<T>().UpdateColumns(columns).Where(whereExpression).ExecuteCommand() > 0;
|
||||
return this.Context.Updateable<T>(columns).Where(whereExpression).ExecuteCommand() > 0;
|
||||
}
|
||||
public bool Delete<T>(T deleteObj) where T : class, new()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user