EFGenericUnitOfWork 1.0.12
See the version list below for details.
dotnet add package EFGenericUnitOfWork --version 1.0.12
NuGet\Install-Package EFGenericUnitOfWork -Version 1.0.12
<PackageReference Include="EFGenericUnitOfWork" Version="1.0.12" />
paket add EFGenericUnitOfWork --version 1.0.12
#r "nuget: EFGenericUnitOfWork, 1.0.12"
// Install EFGenericUnitOfWork as a Cake Addin #addin nuget:?package=EFGenericUnitOfWork&version=1.0.12 // Install EFGenericUnitOfWork as a Cake Tool #tool nuget:?package=EFGenericUnitOfWork&version=1.0.12
program.cs dosyasına eklenecekler örnek
builder.Services.AddScoped<IUnitOfWork, UnitOfWork<BaseDbContext>>(); builder.Services.AddDbContext<BaseDbContext>(options ⇒ options.UseSqlServer(builder.Configuration.GetConnectionString("MsSqlTallyGoDb")));
//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; opt.Password.RequireLowercase = true; opt.Password.RequireUppercase = true; }).AddEntityFrameworkStores<BaseDbContext>();
//Örnek Servis Eklenmesi builder.Services.AddTransient<IUlkelerRepository, UlkelerRepository>();
public class Ulkeler { public Guid Id { get; set; } public string UlkeKodu { get; set; } public string UlkeAdi { get; set; } }
public interface IUlkelerRepository : IRepository<Ulkeler, Guid> { }
public class UlkelerRepository : Repository<BaseDbContext, Ulkeler, Guid>, IUlkelerRepository { public UlkelerRepository(BaseDbContext context) : base(context) { } }
Örnek Kullanımı Kendinize Uyarlayabilirsiniz.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- Microsoft.EntityFrameworkCore.Abstractions (>= 8.0.7)
- Microsoft.EntityFrameworkCore.SqlServer (>= 8.0.7)
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.19 | 100 | 9/9/2024 | |
1.0.18 | 151 | 7/12/2024 | |
1.0.17 | 84 | 7/11/2024 | |
1.0.16 | 79 | 7/11/2024 | |
1.0.14 | 86 | 7/11/2024 | |
1.0.13 | 87 | 7/11/2024 | |
1.0.12 | 89 | 7/9/2024 | |
1.0.11 | 87 | 7/9/2024 | |
1.0.10 | 94 | 7/6/2024 | |
1.0.9 | 109 | 7/6/2024 | |
1.0.8 | 85 | 7/6/2024 | |
1.0.7 | 90 | 7/6/2024 | |
1.0.6 | 93 | 7/6/2024 | |
1.0.5 | 82 | 7/6/2024 | |
1.0.4 | 102 | 7/2/2024 | |
1.0.3 | 102 | 7/1/2024 | |
1.0.1 | 109 | 7/1/2024 | |
1.0.0 | 102 | 7/1/2024 |
Initial release with support for Entity Framework Core, Repository Pattern, UnitOfWork Pattern, SoftDelete functionality, paging, and synchronous/asynchronous support.