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 Introducing Entity Framework Using the Context

Anders Lund
Anders Lund
4,155 Points

Did he connect the context to the older comicBook project?

Did he in this video connect the context file or what it is called to the older comicbook project? if so, where did he do that? or was this just a "local" test to show us how it would print the data if it were connected?

3 Answers

Steven Parker
Steven Parker
231,268 Points

Do you mean the project from the ASP.NET MVC Basics course?

I remember the Comic Book website in the other course — is that the one you mean? But the other course didn't involve Entity Framework, and the context is an EF concept.

Also, at this point in this course, the database has not been populated yet, so the examples in this video probably qualify as what you call a "local test".

Kevin Gates
Kevin Gates
15,053 Points

Also, yes, he got the models because he put this new project in the newly created src file of the existing project from the ASP.NET MVC Basics course.