- 修复 .net5 单文本部署读取注释报错;

This commit is contained in:
2881099
2020-11-23 10:36:35 +08:00
parent 9dd63f165b
commit 44e6eb2979
21 changed files with 262 additions and 71 deletions

View File

@@ -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;
}
}