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

CachingStatement Methods

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

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 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.
GetDataCacheHitRatio Gets a percentage of successful cache hits achieved
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 (inherited from Object)Returns a String that represents the current Object.

See Also

CachingStatement Class | IBatisNet.DataMapper.MappedStatements Namespace