Wednesday, May 28, 2014

Is it Suggested to Use Repository Pattern and Unit of Work with Entity Framework ( ORM Solutions)

Repository Pattern and Unit of Work Pattern on the top of Entity Framework an overhead from both performance and maintainability point of view. Unless otherwise there is strong business driver we should be stay away of this approach.

  1. Key Notes
    1. Repository adds little bit of testing enhancement at the cost of added performance and maintenance overhead.
    2. You should consider this approach only with Code First Approach.
    3. This allow you to change your ORM /Data Access layer in future but that is not very common case.
    4. Entity framework (ORM Solution) itself offer great capability to change underlying data source.
    5. Entity framework itself built on the top of Repository Pattern and Unit of Work Pattern so there is know point of adding another abstraction on the top.
    6. This approach was well in use during ADO.Net era not now getting obsolete with new ORM like data access solution.
  2. References 


  1. I have been following you for a couple of months now but this is my first time commenting on a blog post. Thank you for sharing your knowledge and experience with us. Keep up the good work. Already bookmarked for future reference.
    Hadoop Training in Chennai
    Hadoop Training
    Best Hadoop Training in Chennai
    Best Hadoop Training Institute in Chennai

    1. IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.

      IEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.

      corporate training in chennai corporate training in chennai

      corporate training companies in india corporate training companies in india

      corporate training companies in chennai corporate training companies in chennai

      I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai Project Centers in Chennai

  2. Great site for these post and i am seeing the most of contents have useful for my Carrier.Thanks to such a useful information.Any information are commands like to share him.

    seo training in chennai

  3. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end.

    digital marketing company in india

  4. Thanks for sharing this scripts i had one doubt, how we can promulgate the frame works inside an website. Can you say about it ?

    Best Implant Clinic In Chennai | Best Laser Clinic In Chennai | Best Dental Clinic In Vellore

  5. This blog is very well done as it is very much impressive for me to understand the concept so please say about those things in a very well detail manner.

    Web Design Company in Chennai

  6. I just see the post i am so happy to the communication science post of information's.So I have really enjoyed and reading your blogs for these posts.Any way I’ll be replay for your great thinks and I hope you post again soon.

    Hadoop Training in Chennai

  7. Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us. expecting for your..
    SEO Company in India

  8. Very nice post here and thanks for latest smartphone applications it .I always like and such a super colors of phone for these post.Excellent and very cool idea and great models and different kinds of the more information's.

    AWS Training in Channai

  9. Really Good article.provided a helpful information.keep updating...
    E-mail marketing company in india

  10. This comment has been removed by the author.