Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's Different Between LINQ and Entity Framework?

I know the benefit of the LINQ and I know use of it in .Net Application. I fill same thing there are providing as a Entity Framework.

So What's Major Difference between LINQ and Entity Framework?

like image 577
Mrugesh Avatar asked Nov 29 '22 13:11

Mrugesh


1 Answers

LINQ could be applied to any data source: in-memory objects, XML, SQL, ...

Entity Framework could use LINQ to perform queries against a relational database.

LINQ to SQL is the predecessor of Entity Framework and is obsolete now.

like image 100
Darin Dimitrov Avatar answered Dec 02 '22 01:12

Darin Dimitrov