Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

IMultipleRowDbCommandBuilder..::..ToImmutableDictionary<(Of <(<'TKey, TObject>)>)> Method (String, DictionaryOptions)

Materializes the result as a immutable dictionary of objects.

Namespace:  Tortuga.Chain.CommandBuilders
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


IConstructibleMaterializer<ImmutableDictionary<TKey, TObject>> ToImmutableDictionary<TKey, TObject>(
	string keyColumn,
	DictionaryOptions dictionaryOptions
)
Function ToImmutableDictionary(Of TKey, TObject) ( _
	keyColumn As String, _
	dictionaryOptions As DictionaryOptions _
) As IConstructibleMaterializer(Of ImmutableDictionary(Of TKey, TObject))
generic<typename TKey, typename TObject>
IConstructibleMaterializer<ImmutableDictionary<TKey, TObject>^>^ ToImmutableDictionary(
	String^ keyColumn, 
	DictionaryOptions^ dictionaryOptions
)

Type Parameters

TKey
The type of the key.
TObject
The type of the model.

Parameters

keyColumn
Type: String
The key column.
dictionaryOptions
Type: Tortuga.Chain..::..DictionaryOptions
The dictionary options.

Return Value