mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
- 修复 .net5 单文本部署读取注释报错;
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user