Entity Framework - Part 5 - Migrations Gone Wrong

preview_player
Показать описание
In Part 5 we set up our Task Class and get ready to migrate it to our database, however we make a mistake! This video show you how to delete, overwrite and roll back migrations

Рекомендации по теме
Комментарии
Автор

I've been stuck on this issues for about 5 hours. Had a shopping cart items list not updating in database. I'm so happy I found a answer to all my questions + more. Thank you so much 😇🙂🙂😊

bawxofchawclets
Автор

thanks mr.jackson ! this playlist helps a lot its really teachs

duygugungor
Автор

This is some good stuff. Been plowing through this series and successfully replicating his results thanks to the simple step-by-step explanations.

cisealvalentine
Автор

as all your videos! u helped alot - you deserve more attention

FloetschMaster
Автор

If that does not work, try

update-database -target test32
or
update-database -migration test32

onatkorucu
Автор

So if you rollback the migration, what's the best strategy to make sure that your classes are matching that one you rolled-back to?

yasser
Автор

Thanks for the step by step tutorial. It's really helped me up my skills. I have a question about the foreign key. Could you explain how to explicitly create a foreign key relationship in Entity Framework? In my own code I'm trying to create a class with a list of objects that I want to link to the parent class.

SuperPikeymikey
Автор

More than half of your video went in adding entities and DBSets. Which was not the point.

mocococo