Determines if a matching entity for the provided key exists in the cache of the EntityManager that triggered the event.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function EntityExists( _
ByVal key As IdeaBlade.EntityModel.EntityKey _
) As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As DataChangedEventArgs
Dim key As IdeaBlade.EntityModel.EntityKey
Dim value As Boolean
value = instance.EntityExists(key) |
| C# | |
|---|
public bool EntityExists(
IdeaBlade.EntityModel.EntityKey key
) |
| C++/CLI | |
|---|
public:
bool EntityExists(
IdeaBlade.EntityModel.EntityKey^ key
) |
Parameters
- key
- The entity's key.
Return Value
True if the entity exists.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also