Hello,

I have multiple places where I have to search data either on the current
ObjectStore (newly inserted or modified objects) or directly in the DB.

At the moment I have two distinct blocks of code, one expressed as a
Predicate (used inside a stream filter) and the other with an ObjectSelect
(on which I call its select method).

As both structure encode the same "logic" criteria, it would be nice to be
able to derive one from the other.

One way to solve this would be to be able to transform on ObjectSelect
instance into a Predicate instance.
Or, the ability to run an ObjectSelect not only on the DB, but also into
the uncommitted objects in the ObjectContext.

Is there anything I am missing that could help me dealing with this need?

Cheers,

Giulio Cesare

Reply via email to