StaticVoid.Repository.EntityFramework
1.0.0-beta1
See the version list below for details.
dotnet add package StaticVoid.Repository.EntityFramework --version 1.0.0-beta1
NuGet\Install-Package StaticVoid.Repository.EntityFramework -Version 1.0.0-beta1
<PackageReference Include="StaticVoid.Repository.EntityFramework" Version="1.0.0-beta1" />
paket add StaticVoid.Repository.EntityFramework --version 1.0.0-beta1
#r "nuget: StaticVoid.Repository.EntityFramework, 1.0.0-beta1"
// Install StaticVoid.Repository.EntityFramework as a Cake Addin #addin nuget:?package=StaticVoid.Repository.EntityFramework&version=1.0.0-beta1&prerelease // Install StaticVoid.Repository.EntityFramework as a Cake Tool #tool nuget:?package=StaticVoid.Repository.EntityFramework&version=1.0.0-beta1&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.Core.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,374 | 3/31/2014 |
1.3.0 | 1,862 | 2/22/2014 |
1.2.0 | 1,840 | 5/20/2013 |
1.1.0 | 1,645 | 5/15/2013 |
1.0.0 | 1,718 | 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