Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Wrap Up2:16 with James Churchill
Now that our CRUD operations are in place, the Comic Book Library Manager's data access layer is complete! Let's recap this section and wrap up the course.
Finished Project Code
Here's how to get the code for the finished project:
git clone firstname.lastname@example.org:treehouse-projects/dotnet-comic-book-gallery-model.git cd dotnet-comic-book-gallery-model
Alternatives to Entity Framework
EF is not the only ORM for .NET. NHibernate and Dapper are two popular alternatives.
There's even a new version of Entity Framework, Entity Framework Core, developed by Microsoft as part of the new .NET "Core" family (i.e. .NET Core and ASP.NET Core).
Additional Project Ideas
Now that you've completed this course, it's a great time to reinforce what you've learned by working on a project.
Idea #1: Extend the Comic Book Library Manager Console App
Extend the Comic Book Library Manager console app with the ability to add, update, and delete comic book artists and their respective roles.
Here's the link to download the completed Comic Book Library Manager project files.
Idea #2: Update the Comic Book Gallery website to Use EF
Update the Comic Book Gallery website—from the earlier Treehouse course on ASP.NET MVC—to use EF. For more information see:
Additional Treehouse Entity Framework Courses
Treehouse has two more EF courses that'll be available soon.
Let's recap the section.
We learned how to organize our data access code into its own layer and
the advantages of doing so.
We reviewed how to create entities and
saw how to use foreign key properties to associate related entities.
We also saw how to manage related entities
in order to prevent unexpected duplicate records.
And we reviewed our options for updating and delete entities, and
saw how to take control of cascading deletes.
Now that our crud operations are in place,
the comic book library manager's data access layer is complete.
Great job finishing the work on this critical part of the application.
While entity framework is a popular ORM option amongst .NET developers,
it's certainly not the only available option.
In hibernate is a port of the popular Hibernate ORM for Java, and
there's a library called Dapper that offers a lightweight alternative to EF.
Microsoft has also been this only working on the successor to
EF Entity Framework core.
EF core is a complete rewrite of EF that is both lightweight and extensible.
For more information on in hibernate, Dapper, or EF core,
see the teacher's notes.
Now that you've completed this course,
it's a great time to reinforce what you've learned by working on a project.
For instance, you could work on extending the comic book
library manager console lab with the ability to add,
update and delete comic book artists and their respective roles.
Or you could update the kind of gallery website from
the earlier Treehouse course on ASP.NET NVC to use EF.
We've covered a lot of ground in this course but
there's still more to learn about EF.
See the teacher's notes for links to Treehouse courses about EF code
first migrations and how to use EF with an ASP.Net NVC application.
There are also great online and offline resources available.
Again, see the teacher's notes for a list of these resources.
taking the time to hang out with me and learn the basics of Entity framework.
See you next time.
You need to sign up for Treehouse in order to download course files.Sign up