Click or drag to resize

IObjectDbEsentDeleteT Method

Deletes 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#
bool Delete<T>(
	params Object[] keyValues
)

Parameters

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

Type Parameters

T
The type of object to delete.

Return Value

Type: Boolean
True if the record was deleted, False if not found.
Exceptions
ExceptionCondition
ArgumentException Thrown if keyValues is null or zero-length.
See Also