This commit is contained in:
sunkaixuan
2017-08-28 01:59:41 +08:00
parent 4d964a7c8e
commit 8600287654

View File

@@ -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;
}