|
@ -312,6 +312,7 @@ namespace SqlSugar |
|
|
} |
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
|
|
|
CommandType = CommandType.Text; |
|
|
if (ErrorEvent != null) |
|
|
if (ErrorEvent != null) |
|
|
ExecuteErrorEvent(sql, parameters, ex); |
|
|
ExecuteErrorEvent(sql, parameters, ex); |
|
|
throw ex; |
|
|
throw ex; |
|
@ -346,6 +347,7 @@ namespace SqlSugar |
|
|
} |
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
|
|
|
CommandType = CommandType.Text; |
|
|
if (ErrorEvent != null) |
|
|
if (ErrorEvent != null) |
|
|
ExecuteErrorEvent(sql, parameters, ex); |
|
|
ExecuteErrorEvent(sql, parameters, ex); |
|
|
throw ex; |
|
|
throw ex; |
|
@ -375,6 +377,7 @@ namespace SqlSugar |
|
|
} |
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
|
|
|
CommandType = CommandType.Text; |
|
|
if (ErrorEvent != null) |
|
|
if (ErrorEvent != null) |
|
|
ExecuteErrorEvent(sql, parameters, ex); |
|
|
ExecuteErrorEvent(sql, parameters, ex); |
|
|
throw ex; |
|
|
throw ex; |
|
@ -403,6 +406,7 @@ namespace SqlSugar |
|
|
} |
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
|
|
|
CommandType = CommandType.Text; |
|
|
if (ErrorEvent != null) |
|
|
if (ErrorEvent != null) |
|
|
ExecuteErrorEvent(sql, parameters, ex); |
|
|
ExecuteErrorEvent(sql, parameters, ex); |
|
|
throw ex; |
|
|
throw ex; |
|
@ -434,6 +438,7 @@ namespace SqlSugar |
|
|
} |
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
|
|
|
CommandType = CommandType.Text; |
|
|
if (ErrorEvent != null) |
|
|
if (ErrorEvent != null) |
|
|
ExecuteErrorEvent(sql,parameters,ex); |
|
|
ExecuteErrorEvent(sql,parameters,ex); |
|
|
throw ex; |
|
|
throw ex; |
|
|