mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-19 19:47:06 +08:00
增加CheckConnectionExecuting和CheckConnectionExecuted事件,用于监听数据库连接事件,方便排查是否是因为连接池紧缺导致的连接速度慢
This commit is contained in:
@@ -599,6 +599,8 @@ namespace SqlSugar.TDSQLForPGODBC
|
||||
OnLogExecuted = it.AopEvents?.OnLogExecuted,
|
||||
OnLogExecuting = it.AopEvents?.OnLogExecuting,
|
||||
DataExecuted = it.AopEvents?.DataExecuted,
|
||||
CheckConnectionExecuted = it.AopEvents?.CheckConnectionExecuted,
|
||||
CheckConnectionExecuting = it.AopEvents?.CheckConnectionExecuting,
|
||||
},
|
||||
ConfigId = it.ConfigId,
|
||||
ConfigureExternalServices = it.ConfigureExternalServices == null ? null : new ConfigureExternalServices()
|
||||
|
||||
Reference in New Issue
Block a user