Db4objects.Db4o.Query Namespace

Interface Types

Interface Summary
ICandidate 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
IConstraint Constraint to limit the objects returned upon Db4objects.Db4o.Query.IQuery.Execute.

Constraints are constructed by calling Db4objects.Db4o.Query.IQuery.Constrain(System.Object)

Constraints can be joined with the methods Db4objects.Db4o.Query.IConstraint.And(Db4objects.Db4o.Query.IConstraint) and Db4objects.Db4o.Query.IConstraint.Or(Db4objects.Db4o.Query.IConstraint).

The methods to modify the constraint evaluation algorithm may be merged, to construct combined evaluation rules. Examples:
  • For "smaller or equal":
    Constraint.Smaller().Equal()
  • For "not like":
    Constraint.Not().Like()
  • For "not greater or equal":
    Constraint.Not().Greater().Equal()
IConstraints A set of Db4objects.Db4o.Query.IConstraint objects.

This extension of the Db4objects.Db4o.Query.IConstraint interface allows setting the evaluation mode of all contained Db4objects.Db4o.Query.IConstraint objects with single calls.

See also Db4objects.Db4o.Query.IQuery.Constraints .
IEvaluation For implementation of callback evaluations.
IQuery Handle to a node in a S.O.D.A.
IQueryComparator This interface is not used in .NET.
ISodaQueryFactory

Class Types

Class Summary
Predicate Base class for native queries.
PredicatePlatform

Delegate Types

Delegate Summary
EvaluationDelegate