ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Part 17 AsEnumerable and AsQueryable in LINQ

Автор: kudvenkat

Загружено: 2014-07-24

Просмотров: 118282

Описание: Text version of the video
http://csharp-video-tutorials.blogspo...

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.
   / @aarvikitchen5572  

Slides
http://csharp-video-tutorials.blogspo...

LINQ Tutorial - All Text Articles & Slides
http://csharp-video-tutorials.blogspo...

LINQ Tutorial Playlist
   • LINQ Tutorial  

Dot Net, SQL, Angular, JavaScript, jQuery and Bootstrap complete courses
https://www.youtube.com/user/kudvenka...

In this video we will discuss the use of AsEnumerable and AsQueryable operators in LINQ. Both of these operators belong to Conversion Operators category.

AsQueryable operator : There are 2 overloaded versions of this method.
One overloaded version converts System.Collections.IEnumerable to System.Linq.IQueryable
The other overloaded version converts a generic System.Collections.Generic.IEnumerable[T] to a generic System.Linq.IQueryable[T]

The main use of AsQueryable operator is unit testing to mock a queryable data source using an in-memory data source. We will discuss this operator in detail with examples in unit testing video series.

AsEnumerable operator breaks the query into 2 parts
1. The "inside part" that is the query before AsEnumerable operator is executed as Linq-to-SQL
2. The "ouside part" that is the query after AsEnumerable operator is executed as Linq-to-Objects

So in this example the following SQL Query is executed against SQL Server, all the data is brought into the console application and then the WHERE, ORDERBY & TOP operators are applied on the client-side
SELECT [t0].[ID], [t0].[Name], [t0].[Gender], [t0].[Salary]
FROM [dbo].[Employees] AS [t0]

So in short, use AsEnumerable operator to move query processing to the client side.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Part 17   AsEnumerable and AsQueryable in LINQ

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Part 18   GroupBy in LINQ

Part 18 GroupBy in LINQ

Part 15   Conversion Operators in LINQ

Part 15 Conversion Operators in LINQ

Part 1   What is LINQ

Part 1 What is LINQ

Интегрированные запросы (LINQ) и IEnumerable [Часть 15] | C# для начинающих

Интегрированные запросы (LINQ) и IEnumerable [Часть 15] | C# для начинающих

Делегаты C# объяснили

Делегаты C# объяснили

#25 Что такое LINQ, методы расширения и лямбда-выражения. Ответ на вопрос осбеседования C# / .Net

#25 Что такое LINQ, методы расширения и лямбда-выражения. Ответ на вопрос осбеседования C# / .Net

IQueryable против IEnumerable против List ПРОСТО ОБЪЯСНЕНО менее чем за 7 минут (.Net C#)

IQueryable против IEnumerable против List ПРОСТО ОБЪЯСНЕНО менее чем за 7 минут (.Net C#)

КРАШ-КУРС для начинающих по IEnumerable в .NET C#

КРАШ-КУРС для начинающих по IEnumerable в .NET C#

IEnumerable, IEnumerator, IQueryable in C# .NET

IEnumerable, IEnumerator, IQueryable in C# .NET

Part 28   Generation Operators in LINQ

Part 28 Generation Operators in LINQ

IEnumerable vs IQueryable C# | C# Interview Questions | Csharp Interview  Questions and Answers

IEnumerable vs IQueryable C# | C# Interview Questions | Csharp Interview Questions and Answers

«Сыграй На Пианино — Я Женюсь!» — Смеялся Миллиардер… Пока Еврейка Не Показала Свой Дар

«Сыграй На Пианино — Я Женюсь!» — Смеялся Миллиардер… Пока Еврейка Не Показала Свой Дар

Когда использовать IEnumerable или IQueryable?

Когда использовать IEnumerable или IQueryable?

Все возможности C# за 10 минут

Все возможности C# за 10 минут

AGI Достигнут! ChatGPT 5.2 Рвет ВСЕ Тесты! Внезапно OpenAI Выкатил Новую ИИ! Новая Qwen от Alibaba.

AGI Достигнут! ChatGPT 5.2 Рвет ВСЕ Тесты! Внезапно OpenAI Выкатил Новую ИИ! Новая Qwen от Alibaba.

Part 9   Difference between Select and SelectMany in LINQ

Part 9 Difference between Select and SelectMany in LINQ

Стоило ли покупать УБИТЫЙ MacBook за 5000₽? Результат ШОКИРОВАЛ! Ремонт MacBook Pro 15 1013 a1398

Стоило ли покупать УБИТЫЙ MacBook за 5000₽? Результат ШОКИРОВАЛ! Ремонт MacBook Pro 15 1013 a1398

Difference Between Constant and ReadOnly in C# | CSharp Interview Questions & Answers

Difference Between Constant and ReadOnly in C# | CSharp Interview Questions & Answers

"Люди с дефицитом железа долго не живут". Врач по крови №1 Туаева

Немецкие Инженеры Испытали Захваченный «Шерман» — А Потом Признали, Что Никогда Не Создавали

Немецкие Инженеры Испытали Захваченный «Шерман» — А Потом Признали, Что Никогда Не Создавали

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]