StaticVoid Repository Framework for EntityFramework NuGet Package

A repository pattern implementation for Code First.

More information about how to use this solution and what the package does can be found on my blog here (http://blog.staticvoid.co.nz/2011/10/staticvoid-repository-pattern-nuget.html)
Please leave comments and sugguestions in NuGet or on my blog.

The source for this project is avaliable on GitHub at https://github.com/lukemcgregor/StaticVoid.Core.Repository

This is intended for usage with an IoC repository injection pattern.

To bind to the repository in Ninject simply use:

kernel.Bind(typeof(IRepositoryDataSource<>)).To(typeof(DbContextRepositoryDataSource<>));
kernel.Bind(typeof(IRepository<>)).To(typeof(SimpleRepository<>));

this will allow you to inject repositories using the form IRepository<T> in your service implementations. Repository will have basic methods implemented for the type to allow crud.




Got any StaticVoid Repository Framework for EntityFramework Question?





Info

Version: 1.3.1
Author(s): Luke McGregor
Last Update: Monday, March 31, 2014
.NET Fiddle: Create the first Fiddle
Project Url: http://blog.staticvoid.co.nz/2011/10/staticvoid-repository-pattern-nuget.html
NuGet Url: https://www.nuget.org/packages/StaticVoid.Repository.EntityFramework


Install
Install-Package StaticVoid.Repository.EntityFramework
dotnet add package StaticVoid.Repository.EntityFramework
paket add StaticVoid.Repository.EntityFramework
StaticVoid.Repository.EntityFramework Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.3

avg-downloads-per-day

1

days-since-last-release

3889