MultipleRowDbCommandBuilder<(Of <(<'TCommand, TParameter>)>)>..::..ToScalarDictionary<(Of <(<'TKey, TValue>)>)> 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<Dictionary<TKey, TValue>> ToScalarDictionary<TKey, TValue>( string keyColumn, string valueColumn, DictionaryOptions dictionaryOptions )
Public Function ToScalarDictionary(Of TKey, TValue) ( _ keyColumn As String, _ valueColumn As String, _ dictionaryOptions As DictionaryOptions _ ) As ILink(Of Dictionary(Of TKey, TValue))
public: generic<typename TKey, typename TValue> ILink<Dictionary<TKey, TValue>^>^ ToScalarDictionary( String^ keyColumn, String^ valueColumn, DictionaryOptions^ dictionaryOptions )
Type Parameters
- TKey
- The type of the key.
- TValue
- The type of the value.
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.

