点击或拖拽改变大小

DapperDbHelperQueryMultipleTFirst, TSecond, TThird, TFour, TFive 方法 (String, IListTFirst, IListTSecond, IListTThird, IListTFour, IListTFive, Object, IDbTransaction, NullableInt32, NullableCommandType)

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

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

参数

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

类型参数

TFirst
实体集合一
TSecond
实体集合二
TThird
实体集合三
TFour
实体集合四
TFive
实体集合五
参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架