mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Optimizing error message
This commit is contained in:
@@ -111,6 +111,7 @@ namespace SqlSugar
|
||||
{
|
||||
var oldIsEnableLog = this.Context.Ado.IsEnableLogEvent;
|
||||
this.Context.Ado.IsEnableLogEvent = false;
|
||||
this.Context.Ado.CheckConnection();
|
||||
this.Context.Ado.ExecuteCommand(sql);
|
||||
this.Context.Ado.IsEnableLogEvent = oldIsEnableLog;
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user