It's nice to have a choice. For example when the query is dynamic (or even user definable) then you can compose it by combining/nesting various kinds of criterion objects. In LINQ this would require creating expressions at runtime which is a pain.
Op donderdag 29 maart 2018 23:01:54 UTC+2 schreef Filip Kucharczyk: > > 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.
