ICandidate Interface

Summary

Candidate for Db4objects.Db4o.Query.IEvaluation callbacks.

During Db4objects.Db4o.Query.IQuery.Execute all registered Db4objects.Db4o.Query.IEvaluation callback handlers are called with Db4objects.Db4o.Query.ICandidate proxies that represent the persistent objects that meet all other Db4objects.Db4o.Query.IQuery criteria.

A Db4objects.Db4o.Query.ICandidate provides access to the query candidate object. It represents and allows to specify whether it is to be included in the query result
graph BT Type["ICandidate"] class Type type-node Implementing0["IInternalCandidate"]-.->Type click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Query.Processor/IInternalCandidate" Implementing1["QCandidateBase"]-.->Type click Implementing1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Query.Processor/QCandidateBase" Implementing2["QCandidate"]-.->Type click Implementing2 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Query.Processor/QCandidate" Implementing3["IParentCandidate"]-.->Type click Implementing3 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Query.Processor/IParentCandidate" Implementing4["QPrimitiveCandidate"]-.->Type click Implementing4 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Query.Processor/QPrimitiveCandidate"

Syntax

public interface ICandidate

Methods

Name Value Summary
GetObject() Object
Returns the persistent object that is represented by this query Db4objects.Db4o.Query.ICandidate .
Include(bool) void
Specify whether the Candidate is to be included in the result

This method may be called multiple times.
ObjectContainer() IObjectContainer
Returns the object container the query is executed on