IConstraint.

EndsWith(bool) Method

Summary

Sets the evaluation mode to string EndsWith comparison.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o.Query
Containing Type
IConstraint

Syntax

IConstraint EndsWith(bool caseSensitive)

Remarks

Sets the evaluation mode to string EndsWith comparison. For example:
Pilot pilot = new Pilot("Test Pilot0", 100);
container.Store(pilot);
...
query.Constrain(typeof(Pilot));
query.Descend("name").Constrain("T0").EndsWith(false);

Parameters

Name Type Description
caseSensitive bool comparison will be case sensitive if true, case insensitive otherwise

Return Value

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