ef 4 filter objectset

  • Thread starter Thread starter gerry
  • Start date Start date
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
 
Back
Top