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

IMappedStatement.ExecuteQueryForDictionary Method

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.

Overload List

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.

IDictionary<K,V> ExecuteQueryForDictionary<K,V>(ISqlMapSession,Object,String,String);

Runs a query with a custom object that gets a chance to deal with each row as it is processed.

IDictionary<K,V> ExecuteQueryForDictionary<K,V>(ISqlMapSession,Object,String,String,DictionaryRowDelegate<K,V>);

See Also

IMappedStatement Interface | IBatisNet.DataMapper.MappedStatements Namespace