entity framework core genetare class using existing database

Code Example - entity framework core genetare class using existing database

                
                        PM> Scaffold-DbContext "Server=.\SQLExpress;Database=SchoolDB;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models