Click or drag to resize

IObjectDbEsentListT Method (SeekType, Object)

Lists (enumerates) all objects of a type over the primary key index starting at a specified seek position.

Namespace:  Orthogonal.ObjectDb.Esent
Assembly:  Orthogonal.ObjectDb.Esent (in Orthogonal.ObjectDb.Esent.dll) Version: 4.0.0
Syntax
C#
IEnumerable<T> List<T>(
	SeekType seek,
	params Object[] keyValues
)
where T : class, new()

Parameters

seek
Type: Orthogonal.ObjectDb.EsentSeekType
The seek comparison condition.
keyValues
Type: SystemObject
Primary key seek value(s).

Type Parameters

T
The type of object to list.

Return Value

Type: IEnumerableT
An enumerable set of objects of the specified type. If the seek condition fails the returned set will be empty, otherwise the returned objects start at the one that matched the seek condition and continue to the end of the primary key index.
Exceptions
ExceptionCondition
ArgumentException Thrown if keyValues is null or zero-length.
See Also