NHibernate Linq Supplier Request

Can anybody answer me what the differences are

Session.Query
Session.Linq and
Session.QueryOver

What really interests me:
What will be supported in future versions.
What should I start using in a clean project.

Please tell us your thoughts about these three ...

Thanks, Zoltan

+3
source share
1 answer

Session.Query is the class that should be used if you want to use the new and significantly improved linq provider in NHibernate 3.0. If you are using linq and you are starting a new project, this is the class to use.

Session.Linq - , , linq. , . linq API- Criteria , , , , , .

Session.QueryOver - API- NHibernate. API , . , -. . linq-, linq.

, Query QueryOver.

+5
source

Source: https://habr.com/ru/post/1737226/


All Articles