Jezda.Common.Abstractions
1.0.35
dotnet add package Jezda.Common.Abstractions --version 1.0.35
NuGet\Install-Package Jezda.Common.Abstractions -Version 1.0.35
<PackageReference Include="Jezda.Common.Abstractions" Version="1.0.35" />
<PackageVersion Include="Jezda.Common.Abstractions" Version="1.0.35" />
<PackageReference Include="Jezda.Common.Abstractions" />
paket add Jezda.Common.Abstractions --version 1.0.35
#r "nuget: Jezda.Common.Abstractions, 1.0.35"
#:package Jezda.Common.Abstractions@1.0.35
#addin nuget:?package=Jezda.Common.Abstractions&version=1.0.35
#tool nuget:?package=Jezda.Common.Abstractions&version=1.0.35
Jezda.Common.Abstractions
Interfaces, abstractions, and contracts for repository pattern, Unit of Work, and Specification Pattern.
📦 Installation
dotnet add package Jezda.Common.Abstractions
🎯 What's Included
Repository Interfaces
IGenericRepository<T>- Comprehensive repository interface with 50+ methods- CRUD operations
- Pagination support
- Projection and filtering
- AsNoTracking queries
- Soft delete operations
- Batch operations (bulk update/delete)
- Aggregate functions (Sum, Avg, Min, Max)
- Helper methods (Exists, Count, Any, All)
IUnitOfWork<TContext>- Unit of Work pattern interface- Transaction management
- SaveChanges coordination
- Multiple repository coordination
Specification Pattern
ISpecification<T>- Specification pattern interfaceBaseSpecification<T>- Base class for creating reusable query specifications
Other Abstractions
- Security interfaces - Authentication and authorization abstractions
- Configuration interfaces - Configuration contracts
- Response models - Standard API response contracts
💡 Quick Example
// Using IGenericRepository
public class ProductService
{
private readonly IGenericRepository<Product> _repository;
public ProductService(IGenericRepository<Product> repository)
{
_repository = repository;
}
public async Task<List<Product>> GetActiveProducts()
{
return await _repository.GetAsync(x => x.IsActive);
}
}
// Using Specification Pattern
public class ActiveProductsSpec : BaseSpecification<Product>
{
public ActiveProductsSpec() : base(x => x.IsActive)
{
AddInclude(x => x.Category);
ApplyOrderBy(x => x.Name);
}
}
📚 Documentation
For complete documentation, see the main repository README.
🔗 Related Packages
- Jezda.Common.Domain - Domain models and base entities
- Jezda.Common.Data - Concrete implementations of repositories
📄 License
MIT License - see LICENSE for details.
| 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
- Jezda.Common.Domain (>= 1.0.35)
- Microsoft.EntityFrameworkCore (>= 9.0.9)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Jezda.Common.Abstractions:
| Package | Downloads |
|---|---|
|
Jezda.Common.Extensions
Extension methods for common .NET types including DateTime, PagedList, HTTP responses, and Hangfire integration with PostgreSQL. |
|
|
Jezda.Common.Data
Production-ready GenericRepository and UnitOfWork implementations for EF Core. Features: 50+ methods, Specification Pattern, Soft Delete, Batch Operations, Pagination, AsNoTracking, and Aggregates. |
|
|
Jezda.Common.Helpers
Utility helpers for encryption, string manipulation, date/time handling, currency codes, data masking, and permissions. Includes EncryptionHelper, StringHelper, DisplayMasker, and more. |
|
|
Jezda.Common.Integrations
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.35 | 174 | 2/17/2026 |
| 1.0.34 | 460 | 11/27/2025 |
| 1.0.33 | 319 | 11/24/2025 |
| 1.0.32 | 221 | 11/23/2025 |
| 1.0.31 | 246 | 11/7/2025 |
| 1.0.30 | 239 | 10/31/2025 |
| 1.0.29 | 280 | 10/27/2025 |
| 1.0.28 | 230 | 10/23/2025 |
| 1.0.27 | 201 | 10/17/2025 |
| 1.0.26 | 225 | 10/16/2025 |
| 1.0.25 | 248 | 10/15/2025 |
| 1.0.24 | 229 | 10/14/2025 |
| 1.0.23 | 238 | 10/14/2025 |
| 1.0.22 | 227 | 10/2/2025 |
| 1.0.21 | 224 | 9/11/2025 |
| 1.0.20 | 227 | 9/11/2025 |
| 1.0.19 | 318 | 8/18/2025 |
| 1.0.18 | 165 | 8/16/2025 |
| 1.0.17 | 233 | 8/13/2025 |
| 1.0.16 | 230 | 8/10/2025 |