How is the .net Entity Framework overkill versus LinqToSql?

后端 未结 6 2353
暗喜
暗喜 2021-02-14 15:16

I\'ve heard it said that the Entity Framework is overkill or that it\'s difficult to learn compared to LinqToSql.

I am wondering in what way? I used LinqToSql and like

6条回答
  •  孤街浪徒
    2021-02-14 16:07

    My answer: Do a simple comparsion of the time taken to perform a simple Get/Edit/Update sequence. I think you will find that LINQ to SQL is twice as quick. I did a quick comparsion project when i was investigating the differences.
    The results where: Entity Framework 8,700 milliseconds LINQ to SQL 3,100 milliseconds Data-sets 2,000 milliseconds

    So for me it was a simple question. Use DataSets or use Linq-Sql - Entity Framework didn't even factor into it!

    link text

提交回复
热议问题