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 Object Find(
	Type entityType,
	Object keyProvider
)
Public Function Find ( _
	entityType As Type, _
	keyProvider As Object _
) As Object
public:
Object^ Find(
	Type^ entityType, 
	Object^ keyProvider
)

Parameters

entityType
Type
The entity type.
keyProvider
Object
The key provider.

Return Value

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

See Also