mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 18:48:09 +08:00
Synchronization code
This commit is contained in:
@@ -135,6 +135,9 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
var entityInfo = Deleteable.EntityInfo;
|
var entityInfo = Deleteable.EntityInfo;
|
||||||
db = Deleteable.Context;
|
db = Deleteable.Context;
|
||||||
|
|
||||||
|
Check.ExceptionEasy(DeleteBuilder.GetWhereString == null,"Logical Delete requires a Where condition", "逻辑删除需要加Where条件");
|
||||||
|
|
||||||
where = DeleteBuilder.GetWhereString.Substring(5);
|
where = DeleteBuilder.GetWhereString.Substring(5);
|
||||||
pars = DeleteBuilder.Parameters;
|
pars = DeleteBuilder.Parameters;
|
||||||
if (LogicFieldName.IsNullOrEmpty())
|
if (LogicFieldName.IsNullOrEmpty())
|
||||||
|
Reference in New Issue
Block a user