Entity Framework Tutorial - Simple Repository Pattern C#

preview_player
Показать описание
This video demonstrates how to set up Entity Framework using a simple generic repository pattern.

Please share this video, follow me on twitter @adavir
Рекомендации по теме
Комментарии
Автор

Hi Paul, the video is simply awesome.
Please keep posting you works, so that people like me can get a better insight on .Net stuffs. Thanks for your help

subashnandha
Автор

Tu Polska. Przejmujemy ten film.
Baaaardzo przydatny.

PlacekJac
Автор

Would be good to see add/remove/update actions implemented as well. To see how parent/child relations should be handled in those situations.

mkonvisar
Автор

What happens at 7:38, you just say "alt_enter", this just brings up a properties window. Is it because you have resharper?

slartibartfast
Автор

Mrs. Paul. It's very very good.
That it is a good designers patterns
Thanks

vmarinpietri
Автор

egenesis1, by having the IRepository signature outside the repository project, it gives use a further level of abstraction. I plan to demonstrate this in future videos. 

Doing so, I can you use the one IRepository signature for multiple repositories existing in different projects, so if I added a OData or a MongoDB repository (as separate projects) I could implement the same signature on these projects. 

technicallychallenged
Автор

very useful video tutorial, thank you

vrejdernersesian
Автор

How do you handle Serialization with Lazy Loading?

VyacheKan
Автор

Great concise tutorial. You started to mention the difference between Expression and Func. Any chance you'll elaborate on that? And also looking for concise examples on using Dependency Injection pattern in a project like this one.

aconno
Автор

great video. However could you please explain how to add new table to the model? I've added new table, then what to do with this T4? or something else?

sidukas
Автор

Just curious why you added the edmx file in the a.blog.data.repository rather than a.blog.data? I thought that repository folder should have is the repository interface and the implementing repository class? Sorry but that is what I have been doing on my MVC projects. Trying to find out if Ali misunderstood something or it's just a personal preference. Good tutorial with good implementation of generics however.

egenesis
Автор

What happens at 8:35 - 8:36 that all of a sudden the App.config and package.config files appear in the testing project???

JamesRMikel
Автор

This is too good and too fast for a learner, I learnt a by trying to pause and understand, but I was not lost at all, thanks a lot this will be my go to video when I start a new project.

DigitalHelpVault
Автор

I had my setting on HD but still struggled to see the texts.

kamranbigdely
Автор


EF6 has native support for transactions, which you could easily work into the BlogRepository. Might do a video on that sometime in the near future. 


Paul

technicallychallenged
Автор

If i want to add a table in the model, how do? Use your framework

恩平王
Автор

Very nice tutorial. Do you have the source code?

How would you implement transactional processing for say an order with a main order and order detail and want to commit or rollback due to failure?

rxdmd
Автор

How do I get the tangible T4 editor plugin?

Johnn
Автор

nice article. I can´t download the source. I miss the whole Project with add, update and delete and also the binding to UI

rudolfterppe
Автор

Это просто ментальное унижение. Полный разрыв мозга!

zanael