Working with an Existing Database [2 of 5] | Entity Framework Core for Beginners

preview_player
Показать описание

EF Core isn't just for new databases! In this video, we'll show you how to reverse engineer an existing database for use with EF Core.

Learn more about Entity Framework Core:

Follow us:

Useful Links:

#DotNet #efcore #entityframework #beginner
Рекомендации по теме
Комментарии
Автор

Thanks! Finally. The one and only proper piece of information on the internets on how to connect ef core to existing db. One command in PMC, I've been looking for about a week for this, no other info on EF Core specifically on that. And looks like this Scaffold-DbContext thing is only accessible via PMC at the time, not via gui somewhere. I'm just glad I've found it. Thank you

EareelOfficial
Автор

Happy to find these videos. Right on target for me!

arnehauge
Автор

Thank you! I’ve spent the better part of two hours trying to find a way to connect a .net 6 console app to an existing sql server database. This did the trick!

Apoc
Автор

Hi Cam Thank you, the video helped me a lot. I could find what I was searching for, thanks a lot
💯💯💯💯

Felipe.Silva.Varela
Автор

Learned much and also made me want to play Witcher. 😁

seb_is_class
Автор

Thanks you very much. This video helped me a lot. Simple and easy 💯👌🏻

williamlebron
Автор

When you run the Scaffold-DbContext "" command, does it create a model for each of the tables in the database? Is there a way to just create a model of a specific table?? :, )

DaniLearnsIT
Автор

is it possible to scafflod a cosmosdb and use it as inmemory ?

marek
Автор

I really enjoyed this video. I hope to see more good videos in the future. thank you ~

wonpaper
Автор

where did the connection string come from? I got mine by right click my ContosoPizza database, then properties and I copy the connection string, but is not working.
In my database folder in my sql server I have a couple more data bases I created in other projects. Any ideas? is just fails no other messages is shown. Im 100% new to this.

TheNicoya