Linq works with the queryProviders concept. The query provider is responsible for translating lamba expressions into queries in the data warehouse. as Obalix said in front of me, the Linq to Entities query provider translates linq from lambdas into real sql, which is executed using ado.net core objects. Take a look at the canonical functions here , which are translated into sql (and note which are not). On the other hand, linq to dataset works against the DAtaSet infrastructure. As you recall, the Data Set has some related queries. (getters, updates, delete, inserts) using DataAdapters. Linq queries are mapped to objects that already exist in the data table = columns, etc. SQL queries are not built because the provider does not work at such a low level - the data set is the data abstraction that it uses.
You can take a look at linq in SQL if the agnosticism of the database does not apply to you, and even if some linq provider is for Oracle, if I understood correctly
luckyluke Mar 13 '10 at 15:35 2010-03-13 15:35
source share