There is a FindMatches method that you can use with the entitiy collections to define a predicate that can search the in memory collection as though it was a table. Check out "Finding entities inside a fetched entity collection" in the manual under the generated code sections.