EldorADO.NET Class Library

ObjectContext.Find Method (EntityData, String)

[This is preliminary documentation and subject to change.]

Return the entity with a given oid.

[Visual Basic]
Overloads Public Function Find( _
   ByVal entityData As EntityData, _
   ByVal oid As String _
) As Object
[C#]
public object Find(
   EntityData entityData,
   string oid
);

Parameters

entityData
The entity info describing the type (or a base type in case of polymorphism) of the entity to return.
oid
The object ID of the entity to return.

Return Value

The entity corresponding to the oid (or null if not found).

Remarks

When the entity is not found in the LocalStorage and Disconnected is false, then entity is also fetched in the RemoteSources.

See Also

ObjectContext Class | Eldorado.Object.Disconnected Namespace | ObjectContext.Find Overload List