mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
-
This commit is contained in:
@@ -115,6 +115,7 @@ namespace SqlSugar
|
||||
|
||||
public IDeleteable<T> Where(T deleteObj)
|
||||
{
|
||||
Check.Exception(GetPrimaryKeys().IsNullOrEmpty(), "Where(entity) Primary key required");
|
||||
Where(new List<T>() { deleteObj });
|
||||
return this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user