If NHibernate was built from scratch today it probably would just have the Linq provider. But NHibernate, and Hibernate which it is based on, is 16 years old, well before Linq was a thing. The different APIs are a reflection of different user expectations over time and developing tech trends.
On Fri, Mar 30, 2018 at 7:54 AM, Filip Kucharczyk <[email protected]> wrote: > Hi, > > Why does nHibernate has so many APIs to do queries? There is the HQL, > Criteria API, QueryOver and a Linqu provider. > Isin't the Linq provider all we need? > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/nhusers. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.
