SortedTreeEngineReaderBaseExtensionMethodsReadTKey, TValue(IDatabaseReaderTKey, TValue) Method

Reads all available data from the database reader.

Definition

Namespace: SnapDB.Snap.Services.Reader
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static TreeStream<TKey, TValue> Read<TKey, TValue>(
	this IDatabaseReader<TKey, TValue> reader
)
where TKey : new(), TimestampPointIDBase<TKey>
where TValue : new(), SnapTypeBase<TValue>

Parameters

reader  IDatabaseReaderTKey, TValue
The IDatabaseReader to read data from.

Type Parameters

TKey
The key type for the database reader.
TValue
The value type for the database reader.

Return Value

TreeStreamTKey, TValue
A TreeStream containing all available data.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDatabaseReaderTKey, TValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also