db4o |

# ObjectSet Interface

query resultset.

For a list of all members of this type, see ObjectSet Members.

com.db4o.ObjectSet
com.db4o.ext.ExtObjectSet

public interface ObjectSet : IList, ICollection, IEnumerable

#### Remarks

query resultset.
An ObjectSet is a representation for a set of objects returned by a query.
ObjectSet extends the system collection interfaces java.util.List/System.Collections.IList where they are available. It is recommended, never to reference ObjectSet directly in code but to use List / IList instead.
Note that the underlying ObjectContainer of an ObjectSet needs to remain open as long as an ObjectSet is used. This is necessary for lazy instantiation. The objects in an ObjectSet are only instantiated when they are actually being used by the application.

#### Requirements

Namespace: com.db4o

Assembly: db4o (in db4o.dll)

#### See Also

ObjectSet Members | com.db4o Namespace | for extended functionality.