StaticVoid Repository Framework 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 Question?





Info

Version: 1.2.4
Author(s): Luke McGregor
Last Update: Sunday, March 4, 2012
.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.Core.Repository


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

1 package depend on this package.


Tags



STATS

must-have-score

.8

avg-downloads-per-day

1

days-since-last-release

4428