IMultipleRowDbCommandBuilder..::..ToDictionary<(Of <(<'TKey, TObject, TDictionary>)>)> Method (String, DictionaryOptions)
Materializes the result as a dictionary of objects.
Namespace:
Tortuga.Chain.CommandBuildersAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
IConstructibleMaterializer<TDictionary> ToDictionary<TKey, TObject, TDictionary>( string keyColumn, DictionaryOptions dictionaryOptions ) where TDictionary : IDictionary<TKey, TObject>, IDictionary<TKey, TObject>
Function ToDictionary(Of TKey, TObject, TDictionary As {IDictionary(Of TKey, TObject), IDictionary(Of TKey, TObject)}) ( _ keyColumn As String, _ dictionaryOptions As DictionaryOptions _ ) As IConstructibleMaterializer(Of TDictionary)
generic<typename TKey, typename TObject, typename TDictionary> where TDictionary : IDictionary<TKey, TObject>, IDictionary<TKey, TObject> IConstructibleMaterializer<TDictionary>^ ToDictionary( String^ keyColumn, DictionaryOptions^ dictionaryOptions )
Type Parameters
- TKey
- The type of the key.
- TObject
- The type of the model.
- TDictionary
- The type of dictionary.
Parameters
- keyColumn
- Type: String
The key column.
- dictionaryOptions
- Type: Tortuga.Chain..::..DictionaryOptions
The dictionary options.