IMultipleRowDbCommandBuilder..::..ToImmutableDictionary<(Of <(<'TKey, TObject>)>)> Method (Func<(Of <(<'TObject, TKey>)>)>, DictionaryOptions)
Materializes the result as a immutable dictionary of objects.
Namespace:
Tortuga.Chain.CommandBuildersAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
IConstructibleMaterializer<ImmutableDictionary<TKey, TObject>> ToImmutableDictionary<TKey, TObject>( Func<TObject, TKey> keyFunction, DictionaryOptions dictionaryOptions )
Function ToImmutableDictionary(Of TKey, TObject) ( _ keyFunction As Func(Of TObject, TKey), _ dictionaryOptions As DictionaryOptions _ ) As IConstructibleMaterializer(Of ImmutableDictionary(Of TKey, TObject))
generic<typename TKey, typename TObject> IConstructibleMaterializer<ImmutableDictionary<TKey, TObject>^>^ ToImmutableDictionary( Func<TObject, TKey>^ keyFunction, DictionaryOptions^ dictionaryOptions )
Type Parameters
- TKey
- The type of the key.
- TObject
- The type of the model.
Parameters
- keyFunction
- Type: Func<(Of <(<'TObject, TKey>)>)>
The key function.
- dictionaryOptions
- Type: Tortuga.Chain..::..DictionaryOptions
The dictionary options.