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

IMappedStatement Methods

The methods of the IMappedStatement interface are listed below. For a complete list of IMappedStatement interface members, see the IMappedStatement Members topic.

Public Instance Methods

ExecuteInsert Execute an insert statement. Fill the parameter object with the ouput parameters if any, also could return the insert generated key
ExecuteQueryForDictionaryOverloaded. Executes the SQL and retuns all rows selected in a map that is keyed on the property named in the keyProperty parameter. The value at each key will be the value of the property specified in the valueProperty parameter. If valueProperty is null, the entire result object will be entered.
ExecuteQueryForListOverloaded. Executes the SQL and and fill a strongly typed collection.
ExecuteQueryForMap Executes the SQL and retuns all rows selected in a map that is keyed on the property named in the keyProperty parameter. The value at each key will be the value of the property specified in the valueProperty parameter. If valueProperty is null, the entire result object will be entered.
ExecuteQueryForMapWithRowDelegate Runs a query with a custom object that gets a chance to deal with each row as it is processed.
ExecuteQueryForObjectOverloaded. Executes an SQL statement that returns a single row as an Object.
ExecuteQueryForRowDelegateOverloaded. Runs a query with a custom object that gets a chance to deal with each row as it is processed.
ExecuteUpdate Execute an update statement. Also used for delete statement. Return the number of row effected.

See Also

IMappedStatement Interface | IBatisNet.DataMapper.MappedStatements Namespace