iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

IMappedStatement.ExecuteQueryForList Method (ISqlMapSession, Object, IList<T>)

Executes the SQL and and fill a strongly typed collection.

[Visual Basic]
Sub ExecuteQueryForList( _
   ByVal ISqlMapSession As ISqlMapSession, _
   ByVal Object As Object, _
   ByVal IList<T> As IList{``0} _
)
[C#]
void <T>ExecuteQueryForList(
   ISqlMapSession session,
   Object parameterObject,
   IList<T> resultObject
);

Parameters

session
The session used to execute the statement.
parameterObject
The object used to set the parameters in the SQL.
resultObject
A strongly typed collection of result objects.

See Also

IMappedStatement Interface | IBatisNet.DataMapper.MappedStatements Namespace | IMappedStatement.ExecuteQueryForList Overload List