how can we combile linq and the nhybernate

Posted by Jameschowdare under Regular Expressions on 2/26/2010 | Views : 1446 | Status : [Member] | Replies : 2
how can we combile linq and the nhybernate in one

is there way ?

what is the nessisitity to do that

if anything wrong in question?




Responses

Posted by: Abhi2434 on: 2/26/2010 [Member] [Microsoft_MVP] [MVP] Silver

Up
0
Down
Yes ... there is a way...

There is already a framework released for NHybernate.

Use this tutorial :
http://ayende.com/Blog/archive/2007/03/17/Implementing-Linq-for-NHibernate-A-How-To-Guide--Part.aspx
http://mhinze.com/linq-to-nhibernate-in-10-minutes/

I hope these will help you.
Cheers.

www.abhisheksur.com

Jameschowdare, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nishithraj on: 2/26/2010 [Member] Bronze

Up
0
Down
We can do that. The necessity is Linq for NHibernate allows developers to write queries using LINQ syntax, which are then translated into Criteria Queries that are executed by an NHibernate Session object.

Mark this as answer, if it is.....

With regards
Nishithraj Narayanan

Jameschowdare, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response