StaticVoid.Core.Repository
1.2.1
See the version list below for details.
dotnet add package StaticVoid.Core.Repository --version 1.2.1
NuGet\Install-Package StaticVoid.Core.Repository -Version 1.2.1
<PackageReference Include="StaticVoid.Core.Repository" Version="1.2.1" />
paket add StaticVoid.Core.Repository --version 1.2.1
#r "nuget: StaticVoid.Core.Repository, 1.2.1"
// Install StaticVoid.Core.Repository as a Cake Addin #addin nuget:?package=StaticVoid.Core.Repository&version=1.2.1 // Install StaticVoid.Core.Repository as a Cake Tool #tool nuget:?package=StaticVoid.Core.Repository&version=1.2.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)
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 | net40 is compatible. net403 was computed. net45 was computed. 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 (>= 4.1.10331)
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.