This commit is contained in:
28810
2019-01-14 14:15:46 +08:00
parent b92f480cda
commit ec6d482321
16 changed files with 212 additions and 44 deletions

View File

@ -18,9 +18,13 @@ namespace FreeSql {
/// </summary>
List<ObjectPool<DbConnection>> SlavePools { get; }
/// <summary>
/// 是否跟踪记录SQL执行性能日志
/// 监视数据库命令对象(执行前,调试)
/// </summary>
bool IsTracePerformance { get; set; }
Action<DbCommand> AopCommandExecuting { get; set; }
/// <summary>
/// 监视数据库命令对象(执行后,用于监视执行性能)
/// </summary>
Action<DbCommand, string> AopCommandExecuted { get; set; }
#region
/// <summary>