Blazor: Cascading Dropdowns | EF Core | ...

Blazor: Cascading Dropdowns | EF Core | DB First

Apr 13, 2020

#blazor Cascading Dropdown with #efcore and #dbfirst approach.

Source Code: Download Blazor Cascading Dropdown Code

In this video tutorial we are creating cascading dropdown using Entity Framework Core Database First approact by following steps:

1. Install packages required for creating DB Context classes

- Microsoft.EntityFrameworkCore.SqlServer

- Microsoft.EntityFrameworkCore.Tools

2. Generate DBContext

- Scaffold-DbContext "Your connection string here" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -Tables Country, Cities

.. and follow the instructions in video. download source code from above given link

Gefällt dir dieser Beitrag?

Kaufe Zia A. Shaikh (Programming With Zia) einen Kaffee

More from Zia A. Shaikh (Programming With Zia)