EldorADO.NET Class Library

ObjectContext.Find Method (Type, String)

[This is preliminary documentation and subject to change.]

Return the entity of type baseType with the given oid.

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

Parameters

baseType
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