ADO.NET, Entity Framework, and LINQ to SQL - I'm confused

I need to settle these concepts in my head:

Is the Entity Framework the “new” ADO.NET? What is the difference between these two terms? And how does LINQ to SQL relate to each of them? Is it part of an entity structure?

+3
source share
3 answers

Entity Framework is an O / R mapping module that is built on top of ADO.NET. LINQ to SQL is another O / R mapping approach, but as far as I know, Microsoft is heading to the Entity Framework in the future, not LINQ to SQL.

+5
source

ADO.NET .NET Framework. , .

LINQ to SQL - , , . .NET 3.5 Framework. sql. db ADO.NET.

Entity Framework (aka ADO.NET Entity Framework) - ORM, , , db ADO.NET( - )

+3

, LINQ 2 SQL Entity Framework ADO.NET. Microsoft (ORM). , LINQ , LINQ 2 SQL. SQL Server.

Entity Framework can be called the first true ORM from MS, which can work with all databases that satisfy SQL. The learning curve is very small if someone knows about LINQ 2 SQL. Microsoft recommends that for all future data access solutions, the Entity Framework is the perfect choice.

Hope this helps.

+3
source

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


All Articles