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

MappedStatement Members

MappedStatement overview

Public Instance Properties

Id Name used to identify the MappedStatement amongst the others. This the name of the SQL statement 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

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
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 retuns all rows selected. This is exactly the same as calling ExecuteQueryForList(session, parameterObject, NO_SKIPPED_RESULTS, NO_MAXIMUM_RESULTS).
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.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString ToString implementation.

Public Instance Events

Execute Event launch on exceute query

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

MappedStatement Class | IBatisNet.DataMapper.MappedStatements Namespace