StaticVoid.Repository.EntityFramework
1.0.0-beta2
See the version list below for details.
dotnet add package StaticVoid.Repository.EntityFramework --version 1.0.0-beta2
NuGet\Install-Package StaticVoid.Repository.EntityFramework -Version 1.0.0-beta2
<PackageReference Include="StaticVoid.Repository.EntityFramework" Version="1.0.0-beta2" />
paket add StaticVoid.Repository.EntityFramework --version 1.0.0-beta2
#r "nuget: StaticVoid.Repository.EntityFramework, 1.0.0-beta2"
// Install StaticVoid.Repository.EntityFramework as a Cake Addin #addin nuget:?package=StaticVoid.Repository.EntityFramework&version=1.0.0-beta2&prerelease // Install StaticVoid.Repository.EntityFramework as a Cake Tool #tool nuget:?package=StaticVoid.Repository.EntityFramework&version=1.0.0-beta2&prerelease
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 Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- EntityFramework (>= 5.0.0)
- StaticVoid.Repository (>= 2.0.0-beta1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.3.1 | 2,376 | 3/31/2014 |
1.3.0 | 1,864 | 2/22/2014 |
1.2.0 | 1,842 | 5/20/2013 |
1.1.0 | 1,647 | 5/15/2013 |
1.0.0 | 1,720 | 5/7/2013 |
1.0.0-beta2 | 1,888 | 12/2/2012 |
1.0.0-beta1 | 1,630 | 12/2/2012 |
Split EF Component into StaticVoid.Repository.EntityFramework