Find an entity in the database using the key provider specified.

Namespace: Hypertable.Persistence
Assembly: ht4o (in ht4o.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
public T Find<T>(
	Object keyProvider,
	Behaviors behaviors
)
where T : class
Public Function Find(Of T As Class) ( _
	keyProvider As Object, _
	behaviors As Behaviors _
) As T
public:
generic<typename T>
where T : ref class
T Find(
	Object^ keyProvider, 
	Behaviors behaviors
)

Parameters

keyProvider
Object
The key provider.
behaviors
Behaviors
The behaviors.

Type Parameters

T
Type of the entity to find.

Return Value

The found entity instance or null if the entity does not exist.

See Also