!37 update Src/Asp.Net/SqlSugar/Abstract/AdoProvider/AdoProvider.cs.

Merge pull request !37 from Mr劉/N/A
This commit is contained in:
sunkaixuan 2023-06-20 06:33:29 +00:00 committed by Gitee
commit c49ee83a98
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
@ -1602,6 +1602,7 @@ namespace SqlSugar
protected void ExecuteErrorEvent(string sql, SugarParameter[] parameters, Exception ex)
{
this.AfterTime = DateTime.Now;
ErrorEvent(new SqlSugarException(this.Context, ex, sql, parameters));
}
protected void InitParameters(ref string sql, SugarParameter[] parameters)