#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