SqlServer 单元测试 Curd 走通

This commit is contained in:
28810
2018-12-19 17:06:38 +08:00
parent d619d29cfa
commit 4e45bb184e
21 changed files with 933 additions and 42 deletions

View File

@@ -1,6 +1,7 @@
using FreeSql.Internal;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace FreeSql.SqlServer.Curd {
@@ -28,7 +29,7 @@ namespace FreeSql.SqlServer.Curd {
sb.Insert(0, sql.Substring(0, validx));
sb.Append(sql.Substring(validx));
return _orm.Ado.Query<T1>(sb.ToString());
return _orm.Ado.Query<T1>(CommandType.Text, sb.ToString(), _params.ToArray());
}
}
}