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

ISqlMapper.QueryForDictionary Method

Alias to QueryForMap, .NET spirit. Feature idea by Ted Husted.

Overload List

Alias to QueryForMap, .NET spirit. Feature idea by Ted Husted.

IDictionary QueryForDictionary(String,Object,String);

Alias to QueryForMap, .NET spirit. Feature idea by Ted Husted.

IDictionary QueryForDictionary(String,Object,String,String);

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 entire result object.

IDictionary<K,V> QueryForDictionary<K,V>(String,Object,String);

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> QueryForDictionary<K,V>(String,Object,String,String);

Runs a query with a custom object that gets a chance to deal with each row as it is processed. The parameter object is generally used to supply the input data for the WHERE clause parameter(s) of the SELECT statement.

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

See Also

ISqlMapper Interface | IBatisNet.DataMapper Namespace