I'm trying to scaffold Models from an existing database.
Scaffold-DbContext "connectionString" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
But I got this error:
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
- All required packages are installed (tried another connection string and it's working)
- Tried (Connect timeout 15000 and Connection timeout 15000)
- I can connect with the same connection string via Sql Server management / VS Server explorer
Any ideas?