Entity Framework Core + Blazor - Tutorial for Beginners

Nick Proud
Nick Proud
18.2 هزار بار بازدید - 2 سال پیش - If you're a c# developer
If you're a c# developer and you've not used it yet, you've probably heard of Entity Framework.

Entity Framework is an industry standard Object-Relational Mapping Framework for .NET that allows you interact with SQL through classes in C#, instead of directly executing queries against a database.

In this video, I take you through the basics of how EF can be used, with an example of it's implementation in Blazor.

Chapters:
00:00 What is EF Core and Why Would We Use It?
02:49 Installing EF Core  
04:03 Creating a Db Context
05:42 DbContextFactory and Dependency Injection
07:56 Connection Strings / Creating the DB
12:05 DbSets and Models
15:55 Migrations
25:43 Relations
26:46 Create a Service for Interacting with the Context
30:13 Insert a New Record
33:10 End Example - Inserting a Customer to the DB via a Form
41:23 Save Changes to DB
43:32 Get Records from DB
47:00 Update Records within DB
50:19 Remove Records from DB

#dotnet #entityframework #entityframeworkcore #csharp #blazor #tutorial
2 سال پیش در تاریخ 1401/06/17 منتشر شده است.
18,207 بـار بازدید شده
... بیشتر