Synchronization code

This commit is contained in:
sunkaixuan
2024-04-13 22:18:31 +08:00
parent eeeecbab13
commit 946b7303e8

View File

@@ -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())