Hmm, I posted this earlier but its seems to have disappeared off the list. I am using the dynamic-component feature in order to allow additional properties to be added to my entities as described by ayende and several others: http://ayende.com/Blog/archive/2009/04/11/nhibernate-mapping-ltdynamic-componentgt.aspx
What is not discussed anywhere as far as I can find is how to constrain queries by dynamic properties. So given Ayende's domain model above, how do I query for "All people with an SSN begining with a '0'" or "Is there any people in the system with a null SSN" Yes, I understand that most of the time you need to write queries they will be against static properties, but the question stands regardless -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
