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

ISqlMapper.QueryForObject Method

Executes a Sql SELECT statement that returns that returns data to populate a single object instance.

The parameter object is generally used to supply the input data for the WHERE clause parameter(s) of the SELECT statement.

Overload List

Executes a Sql SELECT statement that returns that returns data to populate a single object instance. The parameter object is generally used to supply the input data for the WHERE clause parameter(s) of the SELECT statement.

object QueryForObject(String,Object);

Executes a Sql SELECT statement that returns a single object of the type of the resultObject parameter.

object QueryForObject(String,Object,Object);

Executes a Sql SELECT statement that returns that returns data to populate a single object instance. The parameter object is generally used to supply the input data for the WHERE clause parameter(s) of the SELECT statement.

T QueryForObject<T>(String,Object);

Executes a Sql SELECT statement that returns a single object of the type of the resultObject parameter.

T QueryForObject<T>(String,Object,ISqlMapper.T);

See Also

ISqlMapper Interface | IBatisNet.DataMapper Namespace