Jezda.Common.Abstractions 1.0.32

There is a newer version of this package available.
See the version list below for details.
dotnet add package Jezda.Common.Abstractions --version 1.0.32
                    
NuGet\Install-Package Jezda.Common.Abstractions -Version 1.0.32
                    
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="Jezda.Common.Abstractions" Version="1.0.32" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Jezda.Common.Abstractions" Version="1.0.32" />
                    
Directory.Packages.props
<PackageReference Include="Jezda.Common.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Jezda.Common.Abstractions --version 1.0.32
                    
#r "nuget: Jezda.Common.Abstractions, 1.0.32"
                    
#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.
#:package Jezda.Common.Abstractions@1.0.32
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Jezda.Common.Abstractions&version=1.0.32
                    
Install as a Cake Addin
#tool nuget:?package=Jezda.Common.Abstractions&version=1.0.32
                    
Install as a Cake Tool

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 interface
  • BaseSpecification<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.

  • Jezda.Common.Domain - Domain models and base entities
  • Jezda.Common.Data - Concrete implementations of repositories

📄 License

MIT License - see LICENSE for details.

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

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

Base integration client for external service integrations. Provides shared HTTP client infrastructure, logging, and serialization.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.37 713 3/12/2026
1.0.36 184 3/8/2026
1.0.35 314 2/17/2026
1.0.34 477 11/27/2025
1.0.33 334 11/24/2025
1.0.32 231 11/23/2025
1.0.31 260 11/7/2025
1.0.30 249 10/31/2025
1.0.29 293 10/27/2025
1.0.28 242 10/23/2025
1.0.27 212 10/17/2025
1.0.26 240 10/16/2025
1.0.25 265 10/15/2025
1.0.24 237 10/14/2025
1.0.23 247 10/14/2025
1.0.22 235 10/2/2025
1.0.21 234 9/11/2025
1.0.20 240 9/11/2025
1.0.19 324 8/18/2025
1.0.18 171 8/16/2025
Loading failed