Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoTemplate.QueryForObject Method

Execute a query with the specified command text, mapping a single result row to an object via a RowMapper.

Overload List

Execute a query with the specified command text, mapping a single result row to an object via a RowMapper.

public object QueryForObject(CommandType,string,IRowMapper)

Execute a query with the specified command text and parameters, mapping a single result row to an object via a RowMapper.

public object QueryForObject(CommandType,string,IRowMapper,IDbParameters)

Execute a query with the specified command text and parameters set via the command setter, mapping a single result row to an object via a RowMapper.

public object QueryForObject(CommandType,string,IRowMapper,ICommandSetter)

Execute a query with the specified command text and parameter, mapping a single result row to an object via a RowMapper.

public object QueryForObject(CommandType,string,IRowMapper,string,Enum,int,object)

See Also

AdoTemplate Class | Spring.Data.Core Namespace