mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-12-24 01:25:48 +08:00
- 修复 .net5 单文本部署读取注释报错;
This commit is contained in:
@@ -57,7 +57,7 @@ namespace FreeSql.Internal.CommonProvider
|
||||
MasterPool.Return(conn);
|
||||
var after = new Aop.TraceAfterEventArgs(before, "", ex);
|
||||
_util?._orm?.Aop.TraceAfterHandler?.Invoke(this, after);
|
||||
throw ex;
|
||||
throw;
|
||||
}
|
||||
if (_trans.ContainsKey(tid)) CommitTransaction();
|
||||
_trans.TryAdd(tid, tran);
|
||||
@@ -122,7 +122,7 @@ namespace FreeSql.Internal.CommonProvider
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (requireTran) RollbackTransaction(ex);
|
||||
throw ex;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user