Entity Framework Tutorial – Simple Repository Pattern C#
This video demonstrates how to set up Entity Framework using a simple generic repository pattern. Please share this video, follow me on twitter @adavir.
Video Tutorial Rating: 4 / 5
Don’t forget to check out our other video tutorials or share this video with a friend.
12 responses to “Entity Framework Tutorial – Simple Repository Pattern C#”
Leave a Reply Cancel reply
Video Tutorials
Bringing you the best video tutorials for Photoshop, Illustrator, Fireworks, WordPress, CSS and others.
Video tutorial posted 16/02/15
Category: C# Tutorials
Pages
Random Videos
Video Categories
- 3DS Max Tutorials (150)
- After Effects Tutorials (160)
- C# Tutorials (121)
- Colour (6)
- Crazy Effects (1)
- CSS Tutorials (120)
- Dreamweaver Tutorials (139)
- Excel Tutorials (127)
- Featured (10)
- Fireworks Tutorials (131)
- General Effects (9)
- HTML Tutorials (143)
- Illustration and Vector (1)
- Illustrator Tutorials (174)
- IMove Tutorials (119)
- Lightroom Tutorials (145)
- People and Faces (3)
- Photoshop Tutorials (169)
- Text Effects (7)
- Uncategorized (32)
- WordPress Tutorials (140)
Tags
VideoTutorials.co.uk
-
Videotutorials.co.uk offers the web's best Photoshop tutorials, Illustrator video guides, CSS and HTML tutorials and much more all in one place. With new videos being added every day, you can learn how to master software and code to give your images and website some great effects.
Our site has beginner, intermediate and advanced video tutorials of varying lengths so you can learn a new skill at your own speed and level. So whether you're a web designer, print designer or just wanting to edit some family photos, you can get to it quickly and easily using these free video guides. (more)
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.
Thanks for the feedback. you can get the source code from here
http://adavir.ie/2014/08/02/a-simple-generic-repository-pattern-for-entity-framework/
.
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.
http://msdn.microsoft.com/en-us/data/dn456843.aspx
Paul
How do you handle Serialization with Lazy Loading?
Hi Paul….. Excellent Video
Can you do a sample on Entity Framework Database first in WCF
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.
I envy you sir how you didn’t end up having problems with the dreaded
project dependencies and references (even worse is that once you make a
mistake adding a proj. dependency – you can’t fix it.. :/).. Or – you can ?
– anyone able to help it ?
Thx sir anyway :)
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?
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
that was really awesome. how long have you been coding…
Thank you for sharing your knowledge, great tutorial.
get juice rocked!!!!!!!!!!!!!!!!!!!!
How to do joins with this approach?