Most complete ORM with LINQ support?

前端 未结 10 1673
情歌与酒
情歌与酒 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 16:10

    Try DataObjects.NET. I'm one of the DO developers. And my latest activity within that project is to implement LINQ for DataObjects. So I could describe it briefly:

    • Supports almost all LINQ methods except Last/LastOrDefault/Aggregate/Reverse/TakeWhile/SkipWhile etc. and methods that has .NET specific arguments - such as IComparer (nobody supports them).
    • Almost all string and Math methods supported (and you have ability to write your own function mappings!).
    • Complex scenarios with GroupBy\SelectMany\Contains\Single\etc. in subqueries and correlated subqueries are supported.

    We have about 1000 tests of LINQ implementation and 99% of them are passed. So I can say that current implementation is close to EF. Some methods do not work with EF, some with our framework. Check this brief description http://www.x-tensive.com/Products/DO/.

提交回复
热议问题