mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2026-06-04 19:42:11 +00:00
SQLHelper 现在可以记录最后一次发生的异常
This commit is contained in:
parent
4b5c46a8fb
commit
e689a6d405
@ -76,6 +76,11 @@ namespace Milimoe.FunGame.Core.Api.Transmittal
|
||||
/// </summary>
|
||||
public bool ClearParametersAfterExecute { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 最后一次执行命令时发生的异常
|
||||
/// </summary>
|
||||
public abstract Exception? LastException { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 执行现有命令(<see cref="Script"/>)
|
||||
/// </summary>
|
||||
|
||||
@ -17,6 +17,7 @@ namespace Milimoe.FunGame.Core.Interface.Base
|
||||
public long LastInsertId { get; }
|
||||
public DataSet DataSet { get; }
|
||||
public bool Success { get; }
|
||||
public Exception? LastException { get; }
|
||||
|
||||
public int Execute();
|
||||
public DataSet ExecuteDataSet();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user