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

MappedStatement.ExecuteQueryForObject Method

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

Overload List

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

public virtual object ExecuteQueryForObject(ISqlMapSession,Object);

Executes an SQL statement that returns a single row as an Object of the type of the resultObject passed in as a parameter.

public virtual object ExecuteQueryForObject(ISqlMapSession,Object,Object);

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

public virtual T ExecuteQueryForObject<T>(ISqlMapSession,Object);

Executes an SQL statement that returns a single row as an Object of the type of the resultObject passed in as a parameter.

public virtual T ExecuteQueryForObject<T>(ISqlMapSession,Object,MappedStatement.T);

See Also

MappedStatement Class | IBatisNet.DataMapper.MappedStatements Namespace