Browse Source

-

pull/12/MERGE
sunkaixuan 7 years ago
parent
commit
8600287654
  1. 1
      Src/Asp.Net/SqlSugar/Abstract/DeleteProvider/DeleteableProvider.cs

1
Src/Asp.Net/SqlSugar/Abstract/DeleteProvider/DeleteableProvider.cs

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

Loading…
Cancel
Save