DevForce Help Reference
FindEntity(EntityKey) Method


Finds the object in cache using the EntityKey provided.
Syntax
'Declaration
 
Public Overloads Function FindEntity( _
   ByVal entityKey As EntityKey _
) As Object
'Usage
 
Dim instance As EntityManager
Dim entityKey As EntityKey
Dim value As Object
 
value = instance.FindEntity(entityKey)
public object FindEntity( 
   EntityKey entityKey
)

Parameters

entityKey

Return Value

Null or the found object
Remarks
Does not search for deleted objects (those with an EntityState of Detached).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityManager Class
EntityManager Members
Overload List

Send Feedback