Entity Framework DbContext Generic Repository Implementation Is Now On Nuget and GitHub

Entity Framework DbContext Generic Repository Implementation Is Now On Nuget and GitHub: PM> Install-Package GenericRepository.EF
2012-01-15 10:41
Tugberk Ugurlu


Couple of weeks ago, I have done two blog post on Generic Repository Pattern - Entity Framework, ASP.NET MVC and Unit Testing Triangle and How to Work With Generic Repositories on ASP.NET MVC and Unit Testing Them By Mocking and I have put up the https://github.com/tugberkugurlu/GenericRepoWebApp up on GitHub as well.

Now, the Generic Repository implementation has its own project separately: https://github.com/tugberkugurlu/GenericRepository. This is a simple project and has not much inside it but it is nice to have something static so that it can be improved along the way.

Here is a brief intro:

This little project contains a Generic Repository infrastructure for .NET applications and also a DbContext Implementation of that.

You can find more information about the main idea of this pattern and the usage on ASP.NET MVC along with Unit Testing by visiting the below links:

How to Install

You can directly install this little project from Nuget. There are two packages:

GenericRepository

image

Generic Repository Infrastructure For .NET Applications

GenericRepository.EF

image

Generic Repository DbContext Implementation

Releases

Under the master branch, you can find the latest stable release of this project.

Also, you can see the most up-to-date project under develop branch. Repository under develop branch is possibly the unstable version of the project.

You can also find all the releases under Tags section.

I await for your PRs :)



Comments

Jeremy Fensch
by Jeremy Fensch on Friday, Jan 27 2012 17:18:11 +02:00

Quick and easy to implement repositories thanks to your work and the goodness of NuGet.  Thanks for sharing.

Tugberk
by Tugberk on Saturday, Jan 28 2012 19:24:32 +02:00

@Jeremy

I'm Glad that it helped :)

Ryan
by Ryan on Monday, May 13 2013 03:19:57 +03:00

how to use it once I added to my project crrom NuGet?

Barış AYDIN
by Barış AYDIN on Tuesday, Jan 26 2016 12:37:01 +00:00
Selam Tuğberk, Generic repository bu şekilde implemente ettik daha sonra nasıl kullanaviliriz? Bu konuda bir örnek paylaşabilir misin?

Tags