mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- 增加 UnitOfWork 静态属性 DebugBeingUsed,用于生产环境监视正在使用中的事务;
This commit is contained in:
@ -17,7 +17,9 @@ namespace FreeSql
|
||||
|
||||
static int _seed;
|
||||
/// <summary>
|
||||
/// 正在使用中的工作单元(调试)
|
||||
/// 正在使用中的工作单元(调试)<para></para>
|
||||
/// Key 格式:yyyyMMdd_HHmmss_种子id<para></para>
|
||||
/// 例如:20191121_214504_1
|
||||
/// </summary>
|
||||
public static ConcurrentDictionary<string, UnitOfWork> DebugBeingUsed { get; } = new ConcurrentDictionary<string, UnitOfWork>();
|
||||
|
||||
|
Reference in New Issue
Block a user