filmov
tv
IEnumerable VS IQueryable (in .NET Core)
Показать описание
IEnumerable is an interface that exposes an enumerator. And an enumerator is used for iteration of a generic collection (or array). The class that implements IEnumerable is responsible for exposing the enumerator and providing its implementation.
IQueryable interface on the other hand, is intended to be implemented by data providers. IQueryable provides functionality to execute queries against a specific data source. And IQueryable is derived from IEnumerable.
Data access ORM (Object Relational Mapper) framework like Entity Framework Core exposes the implementation of IQueryable.
In this video, I will walk through creating a console application. And the application will use Entity Framework Core to access Employee table from a database. I will also add logging in the Entity Framework Core, to see actual queries fired against the database.
Once the code is executed, I will compare the difference in the query when we access the data using an IQueryable interface versus an IEnumerable interface.
IQueryable interface on the other hand, is intended to be implemented by data providers. IQueryable provides functionality to execute queries against a specific data source. And IQueryable is derived from IEnumerable.
Data access ORM (Object Relational Mapper) framework like Entity Framework Core exposes the implementation of IQueryable.
In this video, I will walk through creating a console application. And the application will use Entity Framework Core to access Employee table from a database. I will also add logging in the Entity Framework Core, to see actual queries fired against the database.
Once the code is executed, I will compare the difference in the query when we access the data using an IQueryable interface versus an IEnumerable interface.
When to use IEnumerable vs IQueryable?
IEnumerable vs IQueryable C# | C# Interview Questions | Csharp Interview Questions and Answers
Understand your C# queries! IEnumerable & IQueryable in explained
Should I Use IEnumerable, IQueryable, ICollection, or IList?
IEnumerable, IEnumerator, IQueryable in C# .NET
IEnumerable vs IQueryable
When to use - IEnumerable vs IList vs ICollection?
Difference between IEnumerable and IQueryable in C#
ControllerBase vs Controller in ASP.NET Core Difference | asp.net core Web API interview questions
IEnumerable VS IQueryable :- C# (CSharp) Interview Questions.
Difference between IEnumerable and IQueryable in C# ? Why to use IQueryable in sql queries ?
2 Minutes Problem Solved LINQ When to use IEnumerable vs IQueryable | The Developer Q&A Series
IQueryable VS IEnumerable - C#
IEnumerable Vs IQueryable
IQueryable vs IEnumerable - różnice i zastosowania
C# IEnumerable vs IQueryable
IEnumerable VS IQueryable (in .NET Core)
IQueryable vs IEnumerable vs IList
IEnumerable vs. IQueryable
Language Integrated Query (LINQ) and IEnumerable [Pt 15] | C# for Beginners
IEnumerable VS IQueryable in C# ? | #shorts
What is the difference between IEnumerable and IQueryable in C#?
01 IEnumerable Vs IQueryable
IEnumerable vs IQueryable in C# | C# Interview Questions | C# Interview Questions & Answers
Комментарии