hiya Brian,
It should run another query to fill the collection.
Ok, I think that is my issue, somehow, this quesry is not being run.
I don't have the code in front of me at the minute.
I use the SAME call for both filters, the filter value is passed as an arg
<pseudo>
private void filterBy( filterValue)
//set up the filter, based on the arg
//apply the filter
myEntCollection.GetMulti( myFilter);
</pseudo>
I can confirm that the:
1) filterValue is always correct.
2) entityCollection and the underlying database do indeed contain correct values.
So, I take it that myEntCollection.GetMulti( myFilter); should:
1) search the entire entityColletion,
2) then filter
What I mean is:
1) if I filter by fliterValue = 16, then it should iterate thru the ENTIRE, unfiltered collection, selecting only the rows where the value is 16?
2) if I then SUBSEQUENTLY filter by fliterValue = 15, then it should iterate thru the ENTIRE, unfiltered collection, selecting only the rows where the value is 15?
I think that the first filter call correctly filters the rows...good so far
However, I think that 2nd second filter call returns nothing, because ( and I'm guessing here) the entityCollection only contains a SINGLE row, which of course has the value of the first filter call?
I want the 2nd filter call to filter the entire entCollection, NOT the (subset) entityCollection that was created as the result of the 1st filter.
I'll stop now, because I think I'm clouding the issue.Please also be aware that I am not "chaining" filters, or anything complicated...It's a single filter for the entire page.
many thanks,
yogi