Extending the Command Timeout in Entity Framework Core Migrations

added by DotNetKicks
3/26/2018 12:42:32 PM

1 Kicks, 256 Views

Most migrations that you execute when working with Entity Framework Core are likely to be straightforward - resulting in nothing more than an adjustment to the database schema. Sometimes, however, you might also want to include a task that requires longer than the default command timeout value (30 seconds in SQL Server) such as importing a lot of data.