EFGenericUnitOfWork 1.0.10
See the version list below for details.
dotnet add package EFGenericUnitOfWork --version 1.0.10
NuGet\Install-Package EFGenericUnitOfWork -Version 1.0.10
<PackageReference Include="EFGenericUnitOfWork" Version="1.0.10" />
paket add EFGenericUnitOfWork --version 1.0.10
#r "nuget: EFGenericUnitOfWork, 1.0.10"
// Install EFGenericUnitOfWork as a Cake Addin #addin nuget:?package=EFGenericUnitOfWork&version=1.0.10 // Install EFGenericUnitOfWork as a Cake Tool #tool nuget:?package=EFGenericUnitOfWork&version=1.0.10
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ı Kendine 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.6)
- Microsoft.EntityFrameworkCore.SqlServer (>= 8.0.6)
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 | 98 | 9/9/2024 | |
1.0.18 | 149 | 7/12/2024 | |
1.0.17 | 82 | 7/11/2024 | |
1.0.16 | 76 | 7/11/2024 | |
1.0.14 | 84 | 7/11/2024 | |
1.0.13 | 85 | 7/11/2024 | |
1.0.12 | 87 | 7/9/2024 | |
1.0.11 | 85 | 7/9/2024 | |
1.0.10 | 92 | 7/6/2024 | |
1.0.9 | 107 | 7/6/2024 | |
1.0.8 | 83 | 7/6/2024 | |
1.0.7 | 87 | 7/6/2024 | |
1.0.6 | 91 | 7/6/2024 | |
1.0.5 | 80 | 7/6/2024 | |
1.0.4 | 100 | 7/2/2024 | |
1.0.3 | 99 | 7/1/2024 | |
1.0.1 | 107 | 7/1/2024 | |
1.0.0 | 99 | 7/1/2024 |
Initial release with support for Entity Framework Core, Repository Pattern, UnitOfWork Pattern, and SoftDelete functionality.