Browse Source
!36 update Src/Asp.NetCore2/SqlSugar/Abstract/AdoProvider/AdoProvider.cs.
Merge pull request !36 from Mr劉/N/A
pull/38/MERGE
sunkaixuan
1 year ago
committed by
Gitee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with
2 additions and
1 deletions
-
Src/Asp.NetCore2/SqlSugar/Abstract/AdoProvider/AdoProvider.cs
|
@ -1,4 +1,4 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Collections; |
|
|
using System.Collections; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
using System.Data; |
|
|
using System.Data; |
|
@ -1602,6 +1602,7 @@ namespace SqlSugar |
|
|
|
|
|
|
|
|
protected void ExecuteErrorEvent(string sql, SugarParameter[] parameters, Exception ex) |
|
|
protected void ExecuteErrorEvent(string sql, SugarParameter[] parameters, Exception ex) |
|
|
{ |
|
|
{ |
|
|
|
|
|
this.AfterTime = DateTime.Now; |
|
|
ErrorEvent(new SqlSugarException(this.Context, ex, sql, parameters)); |
|
|
ErrorEvent(new SqlSugarException(this.Context, ex, sql, parameters)); |
|
|
} |
|
|
} |
|
|
protected void InitParameters(ref string sql, SugarParameter[] parameters) |
|
|
protected void InitParameters(ref string sql, SugarParameter[] parameters) |
|
|