StaticVoid.Repository.EntityFramework
1.3.1
dotnet add package StaticVoid.Repository.EntityFramework --version 1.3.1
NuGet\Install-Package StaticVoid.Repository.EntityFramework -Version 1.3.1
<PackageReference Include="StaticVoid.Repository.EntityFramework" Version="1.3.1" />
paket add StaticVoid.Repository.EntityFramework --version 1.3.1
#r "nuget: StaticVoid.Repository.EntityFramework, 1.3.1"
// Install StaticVoid.Repository.EntityFramework as a Cake Addin #addin nuget:?package=StaticVoid.Repository.EntityFramework&version=1.3.1 // Install StaticVoid.Repository.EntityFramework as a Cake Tool #tool nuget:?package=StaticVoid.Repository.EntityFramework&version=1.3.1
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 (> 6.0.0 && <= 7.0.0)
- StaticVoid.Repository (>= 2.3.0)
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,379 | 3/31/2014 |
1.3.0 | 1,866 | 2/22/2014 |
1.2.0 | 1,844 | 5/20/2013 |
1.1.0 | 1,649 | 5/15/2013 |
1.0.0 | 1,722 | 5/7/2013 |
1.0.0-beta2 | 1,888 | 12/2/2012 |
1.0.0-beta1 | 1,630 | 12/2/2012 |
Implemeted async into ef repository