Most complete ORM with LINQ support?

前端 未结 10 1523
情歌与酒
情歌与酒 2021-02-07 15:11

I\'m looking for an ORM that offers complete or near-complete LINQ support.

LINQ to SQL
- Supports about everything inside of LINQ (.Contains, Math.Log, etc)
- C

10条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-07 15:58

    EntityFramework 5.0 just rocks, although it lacks some features in comaprison with nhibernate, but regarding LINQ support its very complete much much better than nhibernate. Nhibernate has the concept of SessionFactory and Session whereas entityframework has the concept of DbContext its similar to the session of nhibernate but much much easier to setup and manage, you can connect to many databases, all you need is for every database to define a DbContext and instantiate the SpecificDbContext in order to begin and write LINQ querys against the Specific DB.

提交回复
热议问题