Is it possible to load nhibernate entities from a stored procedure?
If yes, Will it lazy load the associatations also or will it be more like a sessionless connection?
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.
It can be done, you can read more about it here: http://ayende.com/blog/1692/using-nhibernate-with-stored-procedures
It’s been a while since I used this but I as far as I can remember, associations will be lazy loaded as usual.