CompiledMultipleRow<(Of <(<'TCommand, TParameter, TObject>)>)>..::..ToCollection<(Of <(<'TResultObject, 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<TResultObject, TCollection>( CollectionOptions collectionOptions ) where TCollection : ICollection<TResultObject>
<SuppressMessageAttribute> _ Public Function ToCollection(Of TResultObject, TCollection As ICollection(Of TResultObject)) ( _ collectionOptions As CollectionOptions _ ) As ILink(Of TCollection)
[SuppressMessageAttribute] public: generic<typename TResultObject, typename TCollection> where TCollection : ICollection<TResultObject> ILink<TCollection>^ ToCollection( CollectionOptions^ collectionOptions )
Type Parameters
- TResultObject
- The type of the model.
- TCollection
- The type of the collection.
Parameters
- collectionOptions
- Type: Tortuga.Chain..::..CollectionOptions
The collection options.