StaticVoid.Core.Repository 1.2.4

.NET Framework 4.0
dotnet add package StaticVoid.Core.Repository --version 1.2.4
NuGet\Install-Package StaticVoid.Core.Repository -Version 1.2.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#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

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.

Product Versions
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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,599 3/4/2012
1.2.3 1,243 1/21/2012
1.2.2 1,119 1/21/2012
1.2.1 1,586 10/14/2011
1.2.0 1,301 10/6/2011

Modified to allow EF 4.3.*