I know there are a few people working on getting Nhibernate to support ASP.NET Dynamic Data. Anyone got real life experience of using it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The current implementation in NHContrib is based on translating the queries to ICriteria.
We faced an issue when you query for a collection members. Say:
In this case you won’t get list of Children as you would expect but some list of Parents (as far as I remember).
I think the issue is there because the FROM statement is translated to root criteria. E.g.
… the select part should be now the root of criteria which I think is not ATM.
However a new implementation of Linq2NHib is being developed. Maybe in some time we’d have a propper implementation. At this time – it’s no (to be used with Dynamic Data).