ef 4 filter objectset

G

gerry

Is there any way to specify an initial filter for the ObjectSet properties
of an ObjectContext ?

I have the situation where I know at the time of creating a context that it
will only deal with a specific subset of all possible items.
I would prefer to set an intial filter and forget it rather than specify the
filter everytime I access the context.

Sounds simple but I'm don't see anyway to do it.

Gerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top