What ORM should I use for a ASP.Net MVC project?

前端 未结 9 2109
清酒与你
清酒与你 2021-02-06 09:23

I am starting a new ASP.Net MVC project and was wondering what is the best Model approach to take.

Most demos recommend LinqToSQL but I know Microsoft are not really en

相关标签:
9条回答
  • 2021-02-06 10:27

    LLBLGenPro works great for me. It is the best .net ORM out there. I'd avoid Linq to Sql because you'll have problems once the project grows and it is rather weak in features (besides the obvious downsides, like works only with SQL Server, etc.)

    0 讨论(0)
  • 2021-02-06 10:27

    If you're willing to spend some money or have a smaller project I'd at least try out LightSpeed. I found pain points withe very ORM I've ever tried and I'm currently using LINQ to SQL myself.

    LightSpeed is pretty feature rich though the LINQ support is missing a few features nothing major that can't be worked around. It's pretty close to being the same as LINQ to SQL and LINQ to Entities but has a few more features like Full-text Search.

    0 讨论(0)
  • 2021-02-06 10:27

    If it's not a huge project, I'd use Linq To SQL. If you need all the bells and whistles, bone up on nHibernate and have at it. I don't think you'd run in to any serious issues one way or the other.

    0 讨论(0)
提交回复
热议问题