When choosing an ORM, is LINQ to SQL or LINQ to Entities better than NHibernate?

后端 未结 6 1329
萌比男神i
萌比男神i 2021-01-02 19:05

I find I can do more with NHibernate, and even Castle than with the Linq to Entities, or linq to SQL.

Am I crazy?

6条回答
  •  一整个雨季
    2021-01-02 19:15

    One thing to bear in mind is that NHibernate can be an absolute pig to configure - especially since its based mainly on XML config files because of its roots as the original Hibernate.

    Fluent NHibernate goes some way to making this less painful.

    Linq certainly though fits in with the general 'way' in which .NET works.

提交回复
热议问题