Doku.Common.Persistence 1.0.0-beta.3

Additional Details

kaldırıldı

This is a prerelease version of Doku.Common.Persistence.
dotnet add package Doku.Common.Persistence --version 1.0.0-beta.3
                    
NuGet\Install-Package Doku.Common.Persistence -Version 1.0.0-beta.3
                    
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="Doku.Common.Persistence" Version="1.0.0-beta.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Doku.Common.Persistence" Version="1.0.0-beta.3" />
                    
Directory.Packages.props
<PackageReference Include="Doku.Common.Persistence" />
                    
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 Doku.Common.Persistence --version 1.0.0-beta.3
                    
#r "nuget: Doku.Common.Persistence, 1.0.0-beta.3"
                    
#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 Doku.Common.Persistence@1.0.0-beta.3
                    
#: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=Doku.Common.Persistence&version=1.0.0-beta.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Doku.Common.Persistence&version=1.0.0-beta.3&prerelease
                    
Install as a Cake Tool

Doku.Common.Persistence

Doku.Common.Persistence is a .NET 9 library containing common data access patterns, repositories, and persistence infrastructure for the Doku framework.

?? Installation

dotnet add package Doku.Common.Persistence

or in Package Manager Console:

Install-Package Doku.Common.Persistence

?? Features

  • Repository Pattern: Generic repository implementations
  • Unit of Work: Unit of work pattern support
  • Database Context: Base database context configurations
  • Specifications: Query specification pattern

?? Usage

Using Repository

using Doku.Common.Persistence;

public class MyRepository : Repository<MyEntity>
{
    public MyRepository(DbContext context) : base(context)
    {
    }
}

Unit of Work

using Doku.Common.Persistence.UnitOfWork;

public class MyService
{
    private readonly IUnitOfWork _unitOfWork;
    
    public MyService(IUnitOfWork unitOfWork)
    {
        _unitOfWork = unitOfWork;
    }
    
    public async Task SaveChangesAsync()
    {
        await _unitOfWork.CommitAsync();
    }
}

?? Requirements

  • .NET 9.0 or higher

?? Dependencies

This library may depend on Entity Framework Core and Doku.Common.Domain.

?? Contributing

If you would like to contribute to the project, please fork the repository and submit a pull request.

?? License

This project is developed by Doku team.

?? Contact

For questions, please contact the Doku team.

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.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-beta.3 225 10/30/2025 1.0.0-beta.3 is deprecated.