Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is LINQ to Dataset subset of LINQ to EF or these two are independent?

Is LINQ to Dataset subset of LINQ to EF or these two are independent?

like image 589
masoud ramezani Avatar asked Dec 18 '22 02:12

masoud ramezani


1 Answers

They are independent.

  • Linq to Dataset works against a DataSet that was previously created using ADO.NET. The dataset is loaded prior to using linq, so the SQL queryies are not build dynamicly.

  • Linq to EntityFramework works against entity framework context. Here the SQL queries are constructed dynamically, based on the Linq query you provided.

like image 156
AxelEckenberger Avatar answered Apr 26 '23 22:04

AxelEckenberger