Published on April 13, 2017 by programmingwithmosh

Entity Framework Tutorial: learn how to store and query data using Entity Framework. See both database-first and code-first workflows in action.

You can get the complete course with a big discount here:

bit.ly/2mAJQBm

Here you can find my other courses:

Courses

00:00 What is Entity Framework
02:07 Different Workflows
04:46 Database-first Workflow in Action
15:06 Code-first Workflow in Action
24:14 Database-first or Code-first?

Leave a Reply

45 Comments on "Entity Framework Tutorial"

Notify of
avatar

ASHISH GORANA
Guest
ASHISH GORANA
7 days 23 hours ago

what about performance between store procedures or ef

Ashraf Fadol
Guest
Ashraf Fadol
8 days 4 hours ago

can I use ef against oracle database?

Chris Davis
Guest
Chris Davis
9 days 17 hours ago

Hello. I am trying to follow your tutorial but once I get to the context.SaveChanges(), I get this error when I run it:+ $exception {"Unable to update the EntitySet 'Posts' because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element to support the current operation."} System.Data.Entity.Infrastructure.DbUpdateException

Edward Güereque
Guest
Edward Güereque
10 days 19 hours ago

What an amazing tutorial! Thank you.

egl2004
Guest
egl2004
15 days 14 hours ago

If we get stuck while taking the course is there a specific, focused, community (ie: not StackOverflow) we can reach out to? How do we get "unstuck"?

Muneeb Mashadi
Guest
Muneeb Mashadi
16 days 11 hours ago

This video only shows how to add, where are update and delete?

Arto Kilponen
Guest
Arto Kilponen
17 days 15 hours ago
I have been wanting to see recent EF video tutorial for a long time. Even if this video wouldn't cover a lot of EF, as long as it states the starting point i.e. how to apply methods of old versions to EF, that is enough for me.I like a lot of the editing of video. No-one is actually interested in you writing the code. You can tell where and what to write, but the actual typing is pointless to see. Good work with that!One thing you could have in the video is pointing out typical pitfalls like "pay attention that… Read more »
Moritz Schmidt
Guest
Moritz Schmidt
29 days 10 hours ago

Excellent tutorial! I just had to migrate my ASP.ET-Core Project to a normal ASP.NET-Prject and had problems because I was using EF-Core. With this tutorial I managed it to migrate the DataBase within 15 minutes without any probelms. Great work!

Karen Nersesian
Guest
Karen Nersesian
1 month 7 days ago

wow you are a mentor for us 😀

Valentin Demchuk
Guest
Valentin Demchuk
1 month 11 days ago

Thanks Mosh!Your course is the best I've found in a week of searches on the Internet!A good and clear diction, an accessible explanation.Thanks a lot!

Programming with Mosh
Guest
Programming with Mosh
20 days 18 hours ago

Thanks my friend!

1 2 3 4
wpDiscuz