Revert "- 增加 UnitOfWork 静态属性 DebugBeingUsed,用于生产环境监视正在使用中的事务;"

This reverts commit af9084e9a0.
This commit is contained in:
28810
2019-11-21 22:04:43 +08:00
parent af9084e9a0
commit 4859dc9741
15 changed files with 15 additions and 19 deletions

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net45;net40</TargetFrameworks>
<Version>0.11.24</Version>
<Version>0.11.23</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>YeXiangQin</Authors>
<Description>FreeSql is the most convenient ORM in .NetCore, .NetFramework, And Xamarin. It supports Mysql, Postgresql, SqlServer, Oracle, Sqlite, And Odbc.</Description>

View File

@ -276,9 +276,7 @@
</member>
<member name="P:FreeSql.UnitOfWork.DebugBeingUsed">
<summary>
正在使用中的工作单元(调试)<para></para>
Key 格式yyyyMMdd_HHmmss_种子id<para></para>
例如20191121_214504_1
正在使用中的工作单元(调试)
</summary>
</member>
<member name="P:FreeSql.UnitOfWork.Id">

View File

@ -17,9 +17,7 @@ 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>();