Select rows using queries in Entity Framework Core

Опубликовано: 11 Март 2025
на канале: Round The Code
973
22

Learn how to select rows from Entity Framework Core using async LINQ statements.

We use an ASP.NET Core Web API with .NET 8 to create endpoints that will load a single record by ID and also select multiple rows.

In-addition, we'll also set up an EF query that can be used for pagination by selecting the records for that page and returning the total results and page count.

► This is part 4 of our Get started with EF Core course. View the full playlist:
   • Get started with EF Core - Full course  

💻 Download the code example💻
https://www.roundthecode.com/dotnet-c...

📖 Learn .NET and C# with our online courses 📖
https://www.roundthecode.com/dotnet-c...

👨‍💻Take our .NET and C# coding challenges👨‍💻
https://www.roundthecode.com/dotnet-c...

► Chapters
0:00 What we'll cover
0:16 Add products for selecting
1:08 Select a single row with EF Core
3:28 Select all rows with EF Core
5:06 Select paginated rows with EF Core
10:26 Learn more about EF Core

#efcore #entityframework #entityframeworkcore