mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Add WhereColumns
This commit is contained in:
parent
0a9a3f8d44
commit
7e11f06518
@ -262,7 +262,14 @@ namespace SqlSugar
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public IDeleteable<T> WhereColumns(string [] columns)
|
||||
{
|
||||
if (columns != null)
|
||||
{
|
||||
tempPrimaryKeys = columns.ToList();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
public IDeleteable<T> RemoveDataCache()
|
||||
{
|
||||
this.RemoveCacheFunc = () =>
|
||||
|
@ -30,6 +30,7 @@ namespace SqlSugar
|
||||
IDeleteable<T> Where(string whereString, SugarParameter[] parameters);
|
||||
IDeleteable<T> Where(string whereString, List<SugarParameter> parameters);
|
||||
IDeleteable<T> WhereColumns(Expression<Func<T, object>> columns);
|
||||
IDeleteable<T> WhereColumns(string [] columns);
|
||||
IDeleteable<T> Where(List<IConditionalModel> conditionalModels);
|
||||
IDeleteable<T> EnableDiffLogEvent(object businessData = null);
|
||||
IDeleteable<T> RemoveDataCache();
|
||||
|
Loading…
Reference in New Issue
Block a user