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