I would like to be able to serialize predicate expressions. For example:
Each user is allowed to retrieve only records that "belong" to them. So I would like to save a compare range predicate expression when each user is set-up. In each query (that relates to the relevant table (customer in some cases, provider in others)), I want to insert their predicate expression to restrict the records the can see.
In other cases users will have built complicated predicate expressions, I would like to be able to store and retrive them for later use.
I found the section on XML serializing entities and entity collections, but havn't found anything on serializing predicate expressions, relation collections or resultset fields.