C# Entity Framework Basics Entity Framework and Databases Where's Our Data?

Do not see the ComicBookGalleryModel.Context database

I went to my comic book gallery project done in pervious course and I also downloaded the zip files for this particular course and on both I do not see the .Context database being shown here.

I went to search for a zip file that would have the Context class created to see if that would create a link between the db and the project but it too did not provide the database used in this video.

5 Answers

So when I clicked add new server as shown in the video I just went through the list of server and searched for them. The server was not in my localDb but in a server named after me, most likely because I installed sql server management studio. So just click on add sql server and check the list as shown in the video and connect each one and then open them, click on the databases folder and you should see it.

Let me know if it worked and if not we will try something else.

Vicky Lien
Vicky Lien
2,880 Points

Thanks Ricardo! I found it! I am in a similar situation that I have sql server management studio and SQL Express installed. My database is under the SQL Express server. Thanks for your help!

Awesome. Glad to help. Good luck with the rest of the course.

Linda de Haan
Linda de Haan
11,221 Points

Also, I had to wait like 10 seconds the first time I run the program before I saw the SeriesTitle display on the console and before the database was created, so don't close the console too soon if you don't see the title or database right away.

I did some digging and found my issue and found the database. Beginners luck.

Vicky Lien
Vicky Lien
2,880 Points

Can you please share where you found the database? I am having the same issue. Thanks!