EldorADO.NET Class Library

ObjectContext.Collect Method (String, 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 String, _
   ParamArray args As Object() _
) As ICollection
[C#]
public ICollection Collect(
   string query,
   params object[] args
);

Parameters

query
A string containing the object query.
args
An array of parameters that are passed along with the query.

Return Value

A collection of entity corresponding to the query

Remarks

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