3 ms·
EF handles migration and you can re-use the DbConnection and execute plain SQL. If you don't want to debug difficult queries, then extend it to use Dapper and
by NicoJuicy 4y ago
EF handles migration and you can re-use the DbConnection and execute plain SQL.
If you don't want to debug difficult queries, then extend it to use Dapper and use the best of both worlds.
- andix 4y agoYou don’t have to use migrations, it’s an optional feature. It works equally well to just generate entities from an existing database, that is migrated/set-up in any other way (as long as the schema is not crazily complex).
- other_herbert 4y agoNot my project/not affiliate but Evolve is wonderful for handling db migrations
- NicoJuicy 4y agoHaven't heard of Evolve before, but used DbUp in the past with success too: https://dbup.readthedocs.io/en/latest/ https://dbup.readthedocs.io/en/latest/