EldorADO.NET Class Library

ObjectContext.Collect Method (Type)

[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 type As Type _
) As ICollection
public ICollection Collect(
   Type type


The type to base the query on.

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