Click or drag to resize

IObjectDbEsentGetT Method

Gets an object from the database by primary key.

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

Parameters

keyValues
Type: SystemObject
A variable length array of primary key values.

Type Parameters

T
The type of object to retrieve.

Return Value

Type: T
An object of type T or null if the primary key was not found.
Exceptions
ExceptionCondition
ArgumentException Thrown if keyValues is null or zero-length.
See Also