Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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.

Linda de Haan
Linda de Haan
12,413 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.

Jacek Bialek
Jacek Bialek
18,225 Points

Thanks Linda !, your 10 seconds helped me

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.

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!