AO.GenericRepository.Core
1.0.3
dotnet add package AO.GenericRepository.Core --version 1.0.3
NuGet\Install-Package AO.GenericRepository.Core -Version 1.0.3
<PackageReference Include="AO.GenericRepository.Core" Version="1.0.3" />
paket add AO.GenericRepository.Core --version 1.0.3
#r "nuget: AO.GenericRepository.Core, 1.0.3"
// Install AO.GenericRepository.Core as a Cake Addin #addin nuget:?package=AO.GenericRepository.Core&version=1.0.3 // Install AO.GenericRepository.Core as a Cake Tool #tool nuget:?package=AO.GenericRepository.Core&version=1.0.3
EF Core Generic Repository
Cette bibliothèque est une implémentation de référentiel générique pour EF Core ORM qui supprimera la douleur des développeurs pour écrire une couche de référentiel pour chaque projet .NET Core et .NET.
⭐ Donner une étoile
** Si vous trouvez cette bibliothèque utile, n'oubliez pas de m'encourager à faire encore plus de choses en attribuant une étoile à ce référentiel. Merci.**
✈️ Comment démarrer ?
For full version (both query and command support):
Installez d'abord la dernière version du package nuget AO.GenericRepository.Core
nuget dans votre projet comme suit :
Package Manager Console:
Install-Package AO.GenericRepository.Core
Then in the ConfirugeServices method of the Startup class:
var connectionString = builder.Configuration.GetConnectionString("DefaultConnection");
builder.Services.AddDbContext<EFDbContext>(options => options.UseSqlServer(connectionString));
builder.Services.AddIdentity<IdentityUser, IdentityRole>(
o => {
o.Lockout.DefaultLockoutTimeSpan = TimeSpan.FromMinutes(10);
o.Lockout.MaxFailedAccessAttempts = 5;
o.Password.RequiredLength = 8;
})
.AddEntityFrameworkStores<EFDbContext>()
.AddDefaultTokenProviders();
builder.Services.AddScoped(typeof(IGenericRepository<>), typeof(GenericRepository<>));
Pour une documentation plus détaillée, veuillez visiter [Documentation Wiki](https://github.com/ahmedOumezzine/AO.GenericRepository.Core
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Microsoft.EntityFrameworkCore (>= 6.0.18)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.