Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We are using EF core 5.0 with pomelo mysql db provider. We generate an idempotent sql script to add migration using efcore migration commands. We noticed that the transactions are not rolled back if there are db connection or timeout errors.
How can we ensure the generated script is idempotent, since in the existing state it doesn't behave right.