SQLHelper 添加参数 ClearParametersAfterExecute

This commit is contained in:
milimoe 2025-02-23 23:52:12 +08:00
parent 0ace8d9dc9
commit 3549a2e8af
Signed by: milimoe
GPG Key ID: 05D280912DA6C69E

View File

@ -20,6 +20,7 @@ namespace Milimoe.FunGame.Core.Api.Transmittal
public abstract DataSet DataSet { get; } public abstract DataSet DataSet { get; }
public abstract Dictionary<string, object> Parameters { get; } public abstract Dictionary<string, object> Parameters { get; }
public bool Success => Result == SQLResult.Success; public bool Success => Result == SQLResult.Success;
public bool ClearParametersAfterExecute { get; set; } = true;
/// <summary> /// <summary>
/// 执行一个命令 /// 执行一个命令