command to add entity framework layer in existing database

Code Example - command to add entity framework layer in existing database

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