The methods of the CachingStatement class are listed below. For a complete list of CachingStatement class members, see the CachingStatement Members topic.
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 |
ExecuteQueryForDictionary | Overloaded. 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. |
ExecuteQueryForList | Overloaded. 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. |
ExecuteQueryForObject | Overloaded. Executes an SQL statement that returns a single row as an Object. |
ExecuteQueryForRowDelegate | Overloaded. 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. |
CachingStatement Class | IBatisNet.DataMapper.MappedStatements Namespace