query provider
The component behind an IQueryable<T> that translates a LINQ expression tree into another query language and runs it.
In more detail
Each provider knows the query language and quirks of one data source. EF Core's database providers, such as the SQLite provider, translate LINQ into SQL for their database.
Related terms
- IQueryable<T> — The .NET interface for a query that a provider such as EF Core translates and runs elsewhere, typically as SQL in a database.
- expression tree — A data structure that describes code, such as a lambda, as a tree of operations that another program can inspect and translate.
- Entity Framework Core — Microsoft's object-relational mapper for .NET, which lets code query and save database data as C# objects and translates LINQ into SQL.
Taught in
- Collections, Generics, and LINQ — Modern .NET Core, C# & Enterprise Microservices
- The Repository Pattern — Modern .NET Core, C# & Enterprise Microservices