Update SqlExecuteCount/Time

This commit is contained in:
sunkaixuan 2025-05-22 15:48:38 +08:00
parent 18f99aeab4
commit c2aa975b08

View File

@ -1726,6 +1726,9 @@ namespace SqlSugar
}
protected void InitParameters(ref string sql, SugarParameter[] parameters)
{
this.SqlExecuteCount = 0;
this.BeforeTime = DateTime.MinValue;
this.AfterTime = DateTime.MinValue;
if (parameters.HasValue())
{
foreach (var item in parameters)