EFGenericUnitOfWork 1.0.22
See the version list below for details.
dotnet add package EFGenericUnitOfWork --version 1.0.22
NuGet\Install-Package EFGenericUnitOfWork -Version 1.0.22
<PackageReference Include="EFGenericUnitOfWork" Version="1.0.22" />
<PackageVersion Include="EFGenericUnitOfWork" Version="1.0.22" />
<PackageReference Include="EFGenericUnitOfWork" />
paket add EFGenericUnitOfWork --version 1.0.22
#r "nuget: EFGenericUnitOfWork, 1.0.22"
#:package EFGenericUnitOfWork@1.0.22
#addin nuget:?package=EFGenericUnitOfWork&version=1.0.22
#tool nuget:?package=EFGenericUnitOfWork&version=1.0.22
program.cs dosyasına eklenecekler örnek
builder.Services.AddScoped<IUnitOfWork, UnitOfWork<BaseDbContext>>(); builder.Services.AddDbContext<BaseDbContext>(options ⇒ options.UseSqlServer(builder.Configuration.GetConnectionString("MsSqlTallyGoDb")));
Örnek 2
// Sabit DbContext'ler services.AddDbContext<BaseDbContext>(); services.AddDbContext<MikroMainDbContext>();
// Sabit DbContext'ler için UnitOfWork kayıtları services.AddScoped<IUnitOfWork>(sp ⇒ { var context = sp.GetRequiredService<BaseDbContext>(); return new UnitOfWork<BaseDbContext>(context); });
services.AddScoped<IUnitOfWork>(sp ⇒ { var context = sp.GetRequiredService<MikroMainDbContext>(); return new UnitOfWork<MikroMainDbContext>(context); });
// MikroDbContext factory kaydı services.AddScoped<IMikroDbContextFactory, MikroDbContextFactory>();
Örnek Factory public interface IMikroDbContextFactory { MikroDbContext CreateDbContext(string databaseName); } public class MikroDbContextFactory : IMikroDbContextFactory { private readonly IConfiguration _configuration;
public MikroDbContextFactory(IConfiguration configuration) { _configuration = configuration; }
public MikroDbContext CreateDbContext(string databaseName) { return new MikroDbContext(databaseName, _configuration); } }
// Repository kayıtları services.AddScoped(typeof(IRepositoryOutDbName<,>), typeof(RepositoryOutDbName<,,>));
// MikroDbContext factory kaydı
services.AddScoped<IDbContextFactory<MikroDbContext>, MikroDbContextFactory>();
//IdentityUser Kullanımına Örnek Olarak Eklenecektir Şayet Kullanılmıyorsa Eklenmesine Gerek Yoktur. builder.Services.AddIdentity<Kullanicilar, AppRole>(opt ⇒ { opt.Password.RequireNonAlphanumeric = true; opt.Password.RequireDigit = true;
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Microsoft.EntityFrameworkCore.Abstractions (>= 9.0.2)
- Microsoft.EntityFrameworkCore.SqlServer (>= 9.0.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EFGenericUnitOfWork:
| Package | Downloads |
|---|---|
|
EmfGlobalCaching
A global caching library with support for MediatR, Memory Caching, and Redis Caching, enhancing performance and scalability. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.0.41 | 191 | 7/27/2025 | |
| 1.0.40 | 170 | 7/27/2025 | |
| 1.0.39 | 169 | 7/27/2025 | |
| 1.0.38 | 183 | 7/26/2025 | |
| 1.0.37 | 193 | 7/26/2025 | |
| 1.0.36 | 224 | 7/26/2025 | |
| 1.0.35 | 252 | 7/26/2025 | |
| 1.0.34 | 264 | 7/26/2025 | |
| 1.0.33 | 258 | 7/26/2025 | |
| 1.0.32 | 438 | 3/24/2025 | |
| 1.0.31 | 317 | 3/23/2025 | |
| 1.0.30 | 232 | 3/11/2025 | |
| 1.0.29 | 226 | 3/11/2025 | |
| 1.0.28 | 274 | 3/5/2025 | |
| 1.0.27 | 168 | 2/18/2025 | |
| 1.0.26 | 160 | 2/18/2025 | |
| 1.0.25 | 166 | 2/17/2025 | |
| 1.0.24 | 147 | 2/17/2025 | |
| 1.0.23 | 162 | 2/17/2025 | |
| 1.0.22 | 161 | 2/16/2025 | |
| 1.0.21 | 164 | 2/16/2025 | |
| 1.0.20 | 151 | 1/30/2025 | |
| 1.0.19 | 203 | 9/9/2024 | |
| 1.0.18 | 244 | 7/12/2024 | |
| 1.0.17 | 163 | 7/11/2024 | |
| 1.0.16 | 144 | 7/11/2024 | |
| 1.0.14 | 170 | 7/11/2024 | |
| 1.0.13 | 163 | 7/11/2024 | |
| 1.0.12 | 165 | 7/9/2024 | |
| 1.0.11 | 174 | 7/9/2024 | |
| 1.0.10 | 176 | 7/6/2024 | |
| 1.0.9 | 171 | 7/6/2024 | |
| 1.0.8 | 163 | 7/6/2024 | |
| 1.0.7 | 166 | 7/6/2024 | |
| 1.0.6 | 160 | 7/6/2024 | |
| 1.0.5 | 158 | 7/6/2024 | |
| 1.0.4 | 170 | 7/2/2024 | |
| 1.0.3 | 181 | 7/1/2024 | |
| 1.0.1 | 197 | 7/1/2024 | |
| 1.0.0 | 187 | 7/1/2024 |
Initial release with support for Entity Framework Core, Repository Pattern, UnitOfWork Pattern, SoftDelete functionality, paging, and synchronous/asynchronous support.