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

IMappedStatement.ExecuteQueryForObject Method (ISqlMapSession, Object)

Executes an SQL statement that returns a single row as an Object.

[Visual Basic]
Function ExecuteQueryForObject( _
   ByVal ISqlMapSession As ISqlMapSession, _
   ByVal Object As Object _
) As ``0
[C#]
T <T>ExecuteQueryForObject(
   ISqlMapSession session,
   Object parameterObject
);

Parameters

session
The session used to execute the statement.
parameterObject
The object used to set the parameters in the SQL.

Return Value

The object

See Also

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