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