EFGenericUnitOfWork 1.0.11

There is a newer version of this package available.
See the version list below for details.
dotnet add package EFGenericUnitOfWork --version 1.0.11                
NuGet\Install-Package EFGenericUnitOfWork -Version 1.0.11                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EFGenericUnitOfWork" Version="1.0.11" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EFGenericUnitOfWork --version 1.0.11                
#r "nuget: EFGenericUnitOfWork, 1.0.11"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EFGenericUnitOfWork as a Cake Addin
#addin nuget:?package=EFGenericUnitOfWork&version=1.0.11

// Install EFGenericUnitOfWork as a Cake Tool
#tool nuget:?package=EFGenericUnitOfWork&version=1.0.11                

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 84 9/9/2024
1.0.18 146 7/12/2024
1.0.17 79 7/11/2024
1.0.16 73 7/11/2024
1.0.14 82 7/11/2024
1.0.13 83 7/11/2024
1.0.12 85 7/9/2024
1.0.11 83 7/9/2024
1.0.10 91 7/6/2024
1.0.9 106 7/6/2024
1.0.8 82 7/6/2024
1.0.7 86 7/6/2024
1.0.6 90 7/6/2024
1.0.5 79 7/6/2024
1.0.4 99 7/2/2024
1.0.3 98 7/1/2024
1.0.1 106 7/1/2024 1.0.1 is deprecated because it has critical bugs.
1.0.0 98 7/1/2024 1.0.0 is deprecated because it has critical bugs.

Entity Framework Core, Repository Pattern, UnitOfWork Pattern, Paginate (Sayfalama), ve SoftDelete işlevselliği destekli sürüm.