mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-05 07:50:52 +08:00
Update ADO
BIN
.vs/slnx.sqlite
Normal file
BIN
.vs/slnx.sqlite
Normal file
Binary file not shown.
1
ADO.md
1
ADO.md
@@ -32,6 +32,7 @@ Ado 下面所有参数 object parms 都可以接受匿名对象,或者字典
|
|||||||
|
|
||||||
IN 参数化查询:
|
IN 参数化查询:
|
||||||
|
|
||||||
|
> 当前仅支持Array和IList类型绑定
|
||||||
```c#
|
```c#
|
||||||
var ids = new int[] { 1,2,3 };
|
var ids = new int[] { 1,2,3 };
|
||||||
List<T> list = fsql.Ado.Query<T>("select * from t1 where id in @ids", new { ids = ids });
|
List<T> list = fsql.Ado.Query<T>("select * from t1 where id in @ids", new { ids = ids });
|
||||||
|
|||||||
Reference in New Issue
Block a user