ZaminX.BuildingBlocks.Data.EntityFrameworkCore.Write 10.0.0-beta.1

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

ZaminX.BuildingBlocks.Data.EntityFrameworkCore.Write

این پروژه پیاده‌سازی write side روی EF Core را در Axiom ارائه می‌دهد.

مسئولیت‌ها

این پروژه شامل این اجزا است:

  • EfUnitOfWork<TDbContext>
  • EfWriteRepository<TEntity, TId, TDbContext>
  • write repository scanning
  • registration extensionهای مربوط به write side

مدل طراحی

در این پروژه:

  • IUnitOfWork توسط DbContext پیاده‌سازی می‌شود
  • repository پایه برای aggregate access استفاده می‌شود
  • graph loading از طریق CreateAggregateQuery() کنترل می‌شود
  • application نیازی به آگاهی از Include و ThenInclude ندارد

نکته مهم

این پروژه scanning را بدون وابستگی به library خارجی انجام می‌دهد و فقط repositoryهایی را ثبت می‌کند که:

  • از EfWriteRepository<,,> ارث ببرند
  • و interfaceای را پیاده‌سازی کنند که از IWriteRepository<,> مشتق شده باشد

موارد خارج از scope

این پروژه شامل این موارد نیست:

  • provider registration
  • auditing registration
  • transaction abstraction پیشرفته
  • domain event dispatch
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (2)

Showing the top 2 NuGet packages that depend on ZaminX.BuildingBlocks.Data.EntityFrameworkCore.Write:

Package Downloads
ZaminX.BuildingBlocks.Data.EntityFrameworkCore.PostgreSql

Package Description

ZaminX.BuildingBlocks.Data.EntityFrameworkCore.SqlServer

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0-beta.1 120 4/12/2026