I have a entity mapped to a table and an extra column which is not mapped.
Is it possible to make a select using criteria and filter on that extra column?
I have a entity mapped to a table and an extra column which is not mapped.
Is it possible to make a select using criteria and filter on that extra column?
The definitive answer: http://ayende.com/Blog/archive/2009/06/10/nhibernate-ndash-query-only-properties.aspx
This question is a duplicate: http://stackoverflow.com/questions/657170/query-unmapped-columns-in-nhibernate
You could use Expression.Sql
to create an arbitrary filter that can include unmapped columns. Lots of examples around.