Let\'s assume that I have two classes:
class person { int ID string name Address address } class address { int ID string street string co
It seems to me you're trying to rewrite Microsoft DynamicQuery. Why not just use that instead?
Here's an example:
IQueryable myQuery = GetHibernateQuery(); myQuery = myQuery.OrderBy("address.street");