From cc3df152b3d12c03ae14489bcca3ab8a11db7931 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期六, 27 四月 2024 16:33:12 +0800 Subject: [PATCH] 工艺路线 --- Tiger.Business/DbBase.cs | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Tiger.Business/DbBase.cs b/Tiger.Business/DbBase.cs index 2a6939e..9b07916 100644 --- a/Tiger.Business/DbBase.cs +++ b/Tiger.Business/DbBase.cs @@ -254,6 +254,7 @@ { var dbres = isAsync ? await Db.Deleteable<T>().In(primaryKeys).ExecuteCommandAsync() : Db.Deleteable<T>().In(primaryKeys).ExecuteCommand(); action.Message = $"Delete {typeof(T).Name} entity by primary keys from database success"; + action.IsSuccessed = true; } catch (Exception ex) { @@ -276,6 +277,7 @@ { var dbres = isAsync ? await Db.Deleteable<T>().Where(entity).ExecuteCommandAsync() : Db.Deleteable<T>().Where(entity).ExecuteCommand(); action.Message = $"Delete {typeof(T).Name} entity from database success"; + action.IsSuccessed = true; } catch (Exception ex) { -- Gitblit v1.9.3