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

IMappedStatement Members

IMappedStatement overview

Public Instance Properties

Id Name used to identify the MappedStatement amongst the others. This the name of the SQL statment by default.
PreparedCommand The IPreparedCommand to use
SqlMap The SqlMap used by this MappedStatement
Statement The SQL statment used by this MappedStatement

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.

Public Instance Events

Execute Event launch on exceute query

See Also

IMappedStatement Interface | IBatisNet.DataMapper.MappedStatements Namespace