mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-06 16:30:52 +08:00
Updated ADO (markdown)
8
ADO.md
8
ADO.md
@@ -22,6 +22,14 @@ Ado 下面所有参数 object parms 都可以接受匿名对象,或者字典
|
|||||||
- new { id = 1, name = "xx" }
|
- new { id = 1, name = "xx" }
|
||||||
- new Dictionary\<string, object\> { ["id"] = 1, ["name"] = "xx" }
|
- new Dictionary\<string, object\> { ["id"] = 1, ["name"] = "xx" }
|
||||||
|
|
||||||
|
关于参数前缀
|
||||||
|
|
||||||
|
- odbc 是 ? 并且没有标识,所以freesql禁用了 odbc 参数化
|
||||||
|
- oracle 是 :
|
||||||
|
- mysql.data 是 ?
|
||||||
|
- mysqlconnector 是 @
|
||||||
|
- 其他基本都是 @
|
||||||
|
|
||||||
## 检测连接
|
## 检测连接
|
||||||
|
|
||||||
```c#
|
```c#
|
||||||
|
|||||||
Reference in New Issue
Block a user