This commit is contained in:
2881099
2020-12-07 20:37:59 +08:00
parent 87f2cba55f
commit 2434fa6cb9
23 changed files with 23 additions and 22 deletions

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net45;net40</TargetFrameworks>
<Version>2.3.0-preview1208</Version>
<Version>2.0.105</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>FreeSql;ncc;YeXiangQin</Authors>
<Description>FreeSql is the ORM in .NetCore, .NetFramework, And Xamarin. It supports Mysql, Postgresql, SqlServer, Oracle, Sqlite, Firebird, Odbc, 达梦, 人大金仓, 神舟通用, 翰高, And Access</Description>

View File

@ -130,6 +130,7 @@ namespace FreeSql.Internal.CommonProvider
int _disposeCounter;
public void Dispose()
{
if (ResolveTransaction != null) return;
if (Interlocked.Increment(ref _disposeCounter) != 1) return;
try
{