StaticVoid.Core.Repository 1.2.4

Install-Package StaticVoid.Core.Repository -Version 1.2.4
dotnet add package StaticVoid.Core.Repository --version 1.2.4
<PackageReference Include="StaticVoid.Core.Repository" Version="1.2.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StaticVoid.Core.Repository --version 1.2.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StaticVoid.Core.Repository, 1.2.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install StaticVoid.Core.Repository as a Cake Addin
#addin nuget:?package=StaticVoid.Core.Repository&version=1.2.4

// Install StaticVoid.Core.Repository as a Cake Tool
#tool nuget:?package=StaticVoid.Core.Repository&version=1.2.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 packages (1)

Showing the top 1 NuGet packages that depend on StaticVoid.Core.Repository:

Package Downloads
Avgx.Web.Mvc3

Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.4 2,154 3/4/2012
1.2.3 978 1/21/2012
1.2.2 871 1/21/2012
1.2.1 1,298 10/14/2011
1.2.0 1,014 10/6/2011

Modified to allow EF 4.3.*