Linq to SQL vs Entity Framework, Microsoft support for

What are the pros and cons of both? In addition, I have heard various rumors about whether Microsoft will continue to support LINQ to SQL, any additional information about this will be appreciated.

+3
source share
4 answers

L2S will continue to be supported from what I understand, from what I remember from the last PDC, all the attention is paid to L2E for .NET 4.0.

From my experiments with the current state of L2E, it is "less than adequate." Especially in the field of speed. I did some simple performance testing, and my L2S queries were sometimes 2-4 times faster than L2E, and even with pre-compiling L2E views.

+6
source

LINQ to SQL is for applications that will use SQL only ever.

Entity Framework is designed for applications that need to provide a pluggable server (Oracle, MySQL, SQL, XML, etc.).

, , , "", MS ( ) . .

+6

post . 3 :

  • , Microsoft SQL Server

  • , LINQ

  • ,

+2

NHibernate ? .

+1

Source: https://habr.com/ru/post/1703054/


All Articles