Entity Framework vs LINQ to SQL

后端 未结 17 2296
离开以前
离开以前 2020-11-22 09:25

Now that .NET v3.5 SP1 has been released (along with VS2008 SP1), we now have access to the .NET entity framework.

My question is this. When trying to decide betwee

17条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-22 10:17

    I think the quick and dirty answer is that

    • LINQ to SQL is the quick-and-easy way to do it. This means you will get going quicker, and deliver quicker if you are working on something smaller.
    • Entity Framework is the all-out, no-holds-barred way to do it. This means you will take more time up-front, develop slower, and have more flexibility if you are working on something larger.

提交回复
热议问题