Quote:
The sceffold command now looks like this.
Scaffold-DbContext -Provider Microsoft.EntityFrameworkCore.SqlServer -Force -OutputDir Model -Connection "Data Source=MSIBeast\SQLEXPRESS";Initial Catalog=BBBank;Trusted_Connection=True;Encrypt=False;Integrated Security=True;TrustServerCertificate=True;
The connection string ends at the double-quote after
Data Source=MSIBeast\SQLEXPRESS
; the rest of the line is not part of the connection string.
Move the double quote to the end of the connection string:
Scaffold-DbContext -Provider Microsoft.EntityFrameworkCore.SqlServer -Force -OutputDir Model -Connection "Data Source=MSIBeast\SQLEXPRESS;Initial Catalog=BBBank;Trusted_Connection=True;Encrypt=False;Integrated Security=True;TrustServerCertificate=True;"