Sign in Sign up
nuget

StaticVoid.Core.Repository

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.

nuget View on Nuget

Activity

Latest release
14y ago
Total releases
5
Cadence
~24 days
Last 12 months
0

Details

First release
Oct 06, 2011
Releases
Version Released
1.2.4 patch
1.2.3 patch
1.2.2 patch
1.2.1 patch
1.2.0 initial