dotnet tool install --global dotnet-ef --version 7
dotnet tool update --global dotnet-ef
dotnet ef dbcontext scaffold "Server=.;Database=testDb;User ID=sa;Password=sasa@123;TrustServerCertificate=True;" Microsoft.EntityFrameworkCore.SqlServer -o Models -c AppDbContext