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