- 增加 IAdo.GetDbParamtersByObject 方法获取 DbParameter[];

This commit is contained in:
28810
2020-08-17 13:59:27 +08:00
parent 7dd8eacce3
commit f43d42bc2e
6 changed files with 40 additions and 2 deletions

View File

@@ -2467,6 +2467,13 @@
当前线程的事务
</summary>
</member>
<member name="M:FreeSql.IAdo.GetDbParamtersByObject(System.Object)">
<summary>
将 new { id = 1 } 或者 Dictionary&lt;string, object&gt; 转换为 DbParameter[]
</summary>
<param name="obj">new { id = 1 } 或者 Dictionary&lt;string, object&gt;</param>
<returns></returns>
</member>
<member name="M:FreeSql.IAdo.ExecuteReader(System.Action{FreeSql.Internal.Model.FetchCallbackArgs{System.Data.Common.DbDataReader}},System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
<summary>
查询若使用读写分离查询【从库】条件cmdText.StartsWith("SELECT "),否则查询【主库】