Linq to NHibernate vs. ICriteria

后端 未结 2 1893
南方客
南方客 2021-02-06 14:52

I use LINQ a lot in general, especially LINQ-to-Objects, hence I\'m rather fluent in LINQ.

I was considering to use LINQ-to-NHibernate as the query language for my NHibe

2条回答
  •  一个人的身影
    2021-02-06 15:32

    It looks to me as if NHibernate.Linq doesn't support this optimisation right now. I think you'll need to use a criteria query, or HQL, or wait until the fully integrate LINQ provider is released (slated for NHib v3 I think).

    Cheers, John

提交回复
热议问题