[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

constraint to limit the objects returned upon query execution .

Constraints are constructed by calling Query.constrain() .

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

The methods to modify the constraint evaluation algorithm may be merged, to construct combined evaluation rules. Examples:
  •  Copy imageCopy Code
    Constraint#smaller().equal()
    for "smaller or equal"
  •  Copy imageCopy Code
    Constraint#not().like()
    for "not like"
  •  Copy imageCopy Code
    Constraint#not().greater().equal()
    for "not greater or equal"

Namespace: Db4objects.Db4o.Query
Assembly:   Db4objects.Db4o (in Db4objects.Db4o.dll)

Syntax

Visual Basic (Declaration)
Public Interface IConstraint
C#
public interface IConstraint
Visual C++
public interface class IConstraint