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