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

CachingStatement.ExecuteQueryForObject Method (ISqlMapSession, Object)

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

[Visual Basic]
NotOverridable Overloads Public Function ExecuteQueryForObject( _
   ByVal ISqlMapSession As ISqlMapSession, _
   ByVal Object As Object _
) As ``0 _
    Implements IMappedStatement.
[C#]
public 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

Implements

IMappedStatement.

See Also

CachingStatement Class | IBatisNet.DataMapper.MappedStatements Namespace | CachingStatement.ExecuteQueryForObject Overload List