Summary
For implementation of callback evaluations.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Query - Implementing Types
graph BT
Type["IEvaluation"]
class Type type-node
Implementing0["PredicateEvaluation"]-.->Type
click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Query/PredicateEvaluation"
Syntax
public interface IEvaluation
Remarks
For implementation of callback evaluations.
This is for adding your own constrains to a given query. Note that evaluations force db4o to instantiate your objects in order to execute the query which slows down to query by an order of magnitude. Pass your implementation of this interface to
Evaluations are called as the last step during query execution, after all other constraints have been applied.
Client-Server over a network only:
Avoid evaluations, because the evaluation object needs to be serialized, which is hard to manage correctly.
This is for adding your own constrains to a given query. Note that evaluations force db4o to instantiate your objects in order to execute the query which slows down to query by an order of magnitude. Pass your implementation of this interface to
Db4objects.Db4o.Query.IQuery.Constrain(System.Object)
Evaluations are called as the last step during query execution, after all other constraints have been applied.
Client-Server over a network only:
Avoid evaluations, because the evaluation object needs to be serialized, which is hard to manage correctly.
Methods
Name | Value | Summary |
---|---|---|
Evaluate |
void |
Callback method during
Db4objects.Db4o.Query.IQuery.Execute
.
|