EldorADO.NET Class Library

ObjectContext.Collect Method (ObjectQuery, Object[])

[This is preliminary documentation and subject to change.]

Return a ICollection of entities of the LocalStorage resulting from executing the query given as a parameter.

[Visual Basic]
Overloads Public Function Collect( _
   ByVal query As ObjectQuery, _
   ByVal args As Object() _
) As ICollection
public ICollection Collect(
   ObjectQuery query,
   object[] args


A ObjectQuery object representing the query.
An array of parameters that are passed along with the query.

Return Value

A collection of entity corresponding to the query


Before the execution of the query, perform a Preload to update the data in the LocalStorage.

See Also

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