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

  Рет қаралды 87,209

dotnet

dotnet

Күн бұрын

Learn more ➡️ learn.microsof...
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.
How to code along with these videos: • How to code along with...
Get the code and notes used in this series: github.com/Mic...
Watch the entire series here: aka.ms/ef-core...
Learn more about Entity Framework Core:
Entity Framework Core: docs.microsoft...
Getting Started with EF Core: docs.microsoft...
GitHub Repo: Entity Framework: github.com/dot...
Follow Cam Soper on Twitter: / camsoper
Follow us:
Twitter: / efmagicunicorns
Facebook: / efmagicunicorns
Blogs: devblogs.micro...
Shows and Podcasts: docs.microsoft...
Useful Links:
Get your questions answered on the Microsoft Q&A for .NET - aka.ms/dotnet-qa​
Learn .NET with free self-guided learning from Microsoft Learn: aka.ms/learndotnet
.NET: dotnet.microso...
Learn .NET: dotnet.microso...
.NET Community: dotnet.microso...
.NET Documentation: docs.microsoft...
🙋‍♀️🙋‍♂️ Get your questions answered on the Microsoft Q&A for .NET: aka.ms/dotnet-qa
🏫 Learn C#, F#, and .NET with free self-guided learning from Microsoft Learn: aka.ms/learndo...
#DotNet #efcore #entityframework #beginner

Пікірлер: 18
@EareelOfficial
@EareelOfficial Жыл бұрын
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
@Apoc220
@Apoc220 4 ай бұрын
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!
@arnehauge3906
@arnehauge3906 4 ай бұрын
Happy to find these videos. Right on target for me!
@michaelmandlmayr5113
@michaelmandlmayr5113 Ай бұрын
this video is pure gold
@wyatt5984
@wyatt5984 2 жыл бұрын
Very detailed and concise. Thank you!
@rengoku81xx
@rengoku81xx Жыл бұрын
Learned much and also made me want to play Witcher. 😁
@yvesfree-assangescherdin6138
@yvesfree-assangescherdin6138 Жыл бұрын
Thank you! Very good tutorial
@tiagotaveira1086
@tiagotaveira1086 Жыл бұрын
You saved my job!
@williamlebron2078
@williamlebron2078 2 жыл бұрын
Thanks you very much. This video helped me a lot. Simple and easy 💯👌🏻
@camsoper7902
@camsoper7902 2 жыл бұрын
Awesome! Glad it was helpful. :)
@DaniLearnsIT
@DaniLearnsIT 9 ай бұрын
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?? :,)
@ivankotov4437
@ivankotov4437 2 күн бұрын
We need a video in case when there is a 2000+ tablespoon in the database, but the requirements is to work just with 2.
@marek19922209
@marek19922209 8 ай бұрын
is it possible to scafflod a cosmosdb and use it as inmemory ?
@Felipe.Silva.Varela
@Felipe.Silva.Varela 3 ай бұрын
Hi Cam Thank you, the video helped me a lot. I could find what I was searching for, thanks a lot 💯💯💯💯
@TheNicoya77
@TheNicoya77 2 жыл бұрын
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.
@TheNicoya77
@TheNicoya77 2 жыл бұрын
I figured it out. My Program.cs was completely empty. It needs to have some code in there like a console.writeline or a static method . Why? i dont know lol.
@camsoper7902
@camsoper7902 2 жыл бұрын
@@TheNicoya77 Glad you got through it!
@wonpaper
@wonpaper Жыл бұрын
I really enjoyed this video. I hope to see more good videos in the future. thank you ~
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 13 МЛН
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
Entity Framework Migrations Explained
36:53
dotnet
Рет қаралды 32 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 210 М.
Entity Framework Core Tutorial - Everything You Need to Know to Get Started
40:56
Get started with ENTITY FRAMEWORK in C#!
15:57
tutorialsEU - C#
Рет қаралды 20 М.
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 78 М.
Building with Small Language Models (SLMs)
Microsoft Reactor
Рет қаралды 64