CompiledMultipleRow<(Of <(<'TCommand, TParameter>)>)>..::..ToCollection<(Of <(<'TObject, TCollection>)>)> Method (CollectionOptions)
Materializes the result as a list of objects.
Namespace:
Tortuga.Chain.MaterializersAssembly: Tortuga.Chain.CompiledMaterializers (in Tortuga.Chain.CompiledMaterializers.dll)
Syntax
[SuppressMessageAttribute] public ILink<TCollection> ToCollection<TObject, TCollection>( CollectionOptions collectionOptions ) where TCollection : ICollection<TObject>
<SuppressMessageAttribute> _ Public Function ToCollection(Of TObject, TCollection As ICollection(Of TObject)) ( _ collectionOptions As CollectionOptions _ ) As ILink(Of TCollection)
[SuppressMessageAttribute] public: generic<typename TObject, typename TCollection> where TCollection : ICollection<TObject> ILink<TCollection>^ ToCollection( CollectionOptions^ collectionOptions )
Type Parameters
- TObject
- The type of the model.
- TCollection
- The type of the collection.
Parameters
- collectionOptions
- Type: Tortuga.Chain..::..CollectionOptions
The collection options.