Click or drag to resize

IObjectDbEsentUpdateT Method

Updates data in an existing record by primary key. The primary key property value(s) must be set to locate the record to be updated.

Namespace:  Orthogonal.ObjectDb.Esent
Assembly:  Orthogonal.ObjectDb.Esent (in Orthogonal.ObjectDb.Esent.dll) Version: 4.0.0
Syntax
C#
bool Update<T>(
	T item
)

Parameters

item
Type: T
The object containing the primary key record to search for and the property values to update the record.

Type Parameters

T
The type of record to update.

Return Value

Type: Boolean
True if the record was located and updated, false if not found.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if item is null.
See Also