IConstraint.

Not() Method

Summary

Turns on Not() comparison.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o.Query
Containing Type
IConstraint

Syntax

IConstraint Not()

Remarks

Turns on Not() comparison. All objects not full filling the constrain condition will be returned. For example:
Pilot pilot = new Pilot("Test Pilot1", 100);
container.Store(pilot);
...
query.Constrain(typeof(Pilot));
query.Descend("name").Constrain("t0").EndsWith(true).Not();

Return Value

Type Description
IConstraint this constrain to allow the chaining of method calls.