- 修复 .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

@ -76,7 +76,7 @@ namespace FreeSql.Internal.CommonProvider
{
_transaction.Rollback();
_orm.Aop.TraceAfterHandler?.Invoke(this, new Aop.TraceAfterEventArgs(transBefore, "回滚", ex));
throw ex;
throw;
}
_transaction = null;
}
@ -85,7 +85,7 @@ namespace FreeSql.Internal.CommonProvider
catch (Exception ex)
{
exception = ex;
throw ex;
throw;
}
finally
{
@ -157,7 +157,7 @@ namespace FreeSql.Internal.CommonProvider
{
_transaction.Rollback();
_orm.Aop.TraceAfterHandler?.Invoke(this, new Aop.TraceAfterEventArgs(transBefore, "回滚", ex));
throw ex;
throw;
}
_transaction = null;
}
@ -166,7 +166,7 @@ namespace FreeSql.Internal.CommonProvider
catch (Exception ex)
{
exception = ex;
throw ex;
throw;
}
finally
{
@ -236,7 +236,7 @@ namespace FreeSql.Internal.CommonProvider
{
_transaction.Rollback();
_orm.Aop.TraceAfterHandler?.Invoke(this, new Aop.TraceAfterEventArgs(transBefore, "回滚", ex));
throw ex;
throw;
}
_transaction = null;
}
@ -245,7 +245,7 @@ namespace FreeSql.Internal.CommonProvider
catch (Exception ex)
{
exception = ex;
throw ex;
throw;
}
finally
{
@ -270,7 +270,7 @@ namespace FreeSql.Internal.CommonProvider
catch (Exception ex)
{
exception = ex;
throw ex;
throw;
}
finally
{