I would like to know if it is possible to create a query where I add an unmapped property to my projected output.
Here is an example I have a class called Person Person has 3 properties Name Birthday Age Name and Birthday are mapped to the database, and Age is calculated based on today's date, hence it is not mapped. When I create a criteria query and I add Age to my projections list, I get an error when I execute the query: NHibernate.QueryException: could not resolve property: Age Does anyone know if I am able to put unmapped properties from my entity into my query projections? -- 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.
