MultipleRowDbCommandBuilder<(Of <(<'TCommand, TParameter>)>)>..::..ToScalarDictionary<(Of <(<'TKey, TValue, TDictionary>)>)> Method (String, String, DictionaryOptions)
Materializes the result as a dictionary of objects.
Namespace:
Tortuga.Chain.CommandBuildersAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public ILink<TDictionary> ToScalarDictionary<TKey, TValue, TDictionary>( string keyColumn, string valueColumn, DictionaryOptions dictionaryOptions ) where TDictionary : IDictionary<TKey, TValue>
Public Function ToScalarDictionary(Of TKey, TValue, TDictionary As IDictionary(Of TKey, TValue)) ( _ keyColumn As String, _ valueColumn As String, _ dictionaryOptions As DictionaryOptions _ ) As ILink(Of TDictionary)
public: generic<typename TKey, typename TValue, typename TDictionary> where TDictionary : IDictionary<TKey, TValue> ILink<TDictionary>^ ToScalarDictionary( String^ keyColumn, String^ valueColumn, DictionaryOptions^ dictionaryOptions )
Type Parameters
- TKey
- The type of the key.
- TValue
- The type of the value.
- TDictionary
- The type of dictionary.
Parameters
- keyColumn
- Type: String
The name of the key column.
- valueColumn
- Type: String
The name of the value column.
- dictionaryOptions
- Type: Tortuga.Chain..::..DictionaryOptions
The dictionary options. The InferConstructor option is not supported.

