还原测试用例

This commit is contained in:
hyzx86
2023-04-04 16:42:01 +08:00
parent aa13fc49a7
commit 18c9ae954c
5 changed files with 13 additions and 22 deletions

View File

@ -186,7 +186,7 @@ namespace FreeSql.GBase
using (var cmd = conn.Value.CreateCommand())
{
cmd.CommandText = sql;
cmd.CommandType = CommandType.Text;
cmd.CommandType = CommandType.Text;
var before = new Aop.CommandBeforeEventArgs(cmd);
this._orm?.Aop.CommandBeforeHandler?.Invoke(this._orm, before);
return cmd.ExecuteScalar();