Click or drag to resize

ObjectDbListByIndexT Method (String, SeekType, Object)

Lists (enumerates) all objects of a type over an alternative 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#
public IEnumerable<T> ListByIndex<T>(
	string propertyIndexName,
	SeekType seek,
	Object seekValue
)
where T : class, new()

Parameters

propertyIndexName
Type: SystemString
The name of the property of type T containing the alternative key index values.
seek
Type: Orthogonal.ObjectDb.EsentSeekType
The seek comparison condition.
seekValue
Type: SystemObject
The alternative key index value to seek.

Type Parameters

T
The type of the 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 alternative key index.

Implements

IObjectDbEsentListByIndexT(String, SeekType, Object)
Exceptions
ExceptionCondition
ArgumentNullException Thrown if propertyIndexName or seekValue is null.
InvalidOperationException Thrown if propertyIndexName is not a property of type T.
See Also