点击或拖拽改变大小

DapperDbHelperQueryMultipleTFirst, TSecond, TThird, TFour, TFive, TSix, TSenven, TEight, TNine, TTen 方法 (String, IListTFirst, IListTSecond, IListTThird, IListTFour, IListTFive, IListTSix, IListTSenven, IListTEight, IListTNine, IListTTen, Object, IDbTransaction, NullableInt32, NullableCommandType)

Sweet 开发框架
10条Sql语句查询

命名空间:  Sweet.DBUtility.SQLServer
程序集:  Sweet.DBUtility.SQLServer (在 Sweet.DBUtility.SQLServer.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static void QueryMultiple<TFirst, TSecond, TThird, TFour, TFive, TSix, TSenven, TEight, TNine, TTen>(
	string sql,
	out IList<TFirst> tfList,
	out IList<TSecond> tsList,
	out IList<TThird> ttList,
	out IList<TFour> tfourList,
	out IList<TFive> tfiveList,
	out IList<TSix> tsixList,
	out IList<TSenven> tsenvenList,
	out IList<TEight> teightList,
	out IList<TNine> tnineList,
	out IList<TTen> ttenList,
	Object param = null,
	IDbTransaction transaction = null,
	int? commandTimeout = null,
	CommandType? commandType = null
)

参数

sql
类型:SystemString
10条查询语句
tfList
类型:System.Collections.GenericIListTFirst
返回第一条语句的实体集合
tsList
类型:System.Collections.GenericIListTSecond
返回第二条语句的实体集合
ttList
类型:System.Collections.GenericIListTThird
返回第三条语句的实体集合
tfourList
类型:System.Collections.GenericIListTFour
返回第四条语句的实体集合
tfiveList
类型:System.Collections.GenericIListTFive
返回第五条语句的实体集合
tsixList
类型:System.Collections.GenericIListTSix
返回第六条语句的实体集合
tsenvenList
类型:System.Collections.GenericIListTSenven
返回第七条语句的实体集合
teightList
类型:System.Collections.GenericIListTEight
返回第八条语句的实体集合
tnineList
类型:System.Collections.GenericIListTNine
返回第九条语句的实体集合
ttenList
类型:System.Collections.GenericIListTTen
返回第十条语句的实体集合
param (Optional)
类型:SystemObject
参数值(可选)
transaction (Optional)
类型:System.DataIDbTransaction
事务名称(可选)
commandTimeout (Optional)
类型:SystemNullableInt32
超时时间(可选)
commandType (Optional)
类型:SystemNullableCommandType
指定如果解释sql字符串:语句/存储过程(可选)

类型参数

TFirst
实体集合一
TSecond
实体集合二
TThird
实体集合三
TFour
实体集合四
TFive
实体集合五
TSix
实体集合六
TSenven
实体集合七
TEight
实体集合八
TNine
实体集合九
TTen
实体集合十
参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架