Performance Ideas

This code represents probably the most informative and complete projects I have ever seen and it's a great instructional project to illustrate a custom Linq provider for database access. That said, I wanted to discuss ideas for implementors for strategies
to improve performance. One thing I've noticed about the code is that overhead increases significantly as the number of properties on the record types grows. This is probably because of the iterations through MemberInfo to work out the query. In any case,
I'd like to figure out some ways to maybe create some optimizations. One idea might be to (optionally) stash hints inside the record types the system could use to more efficiently create the sql query with less reflection. Any thoughts?