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

This is a prerelease version of ZaminX.BuildingBlocks.Data.EntityFrameworkCore.Read.
dotnet add package ZaminX.BuildingBlocks.Data.EntityFrameworkCore.Read --version 10.0.0-beta.1
                    
NuGet\Install-Package ZaminX.BuildingBlocks.Data.EntityFrameworkCore.Read -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.Read" 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.Read" Version="10.0.0-beta.1" />
                    
Directory.Packages.props
<PackageReference Include="ZaminX.BuildingBlocks.Data.EntityFrameworkCore.Read" />
                    
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.Read --version 10.0.0-beta.1
                    
#r "nuget: ZaminX.BuildingBlocks.Data.EntityFrameworkCore.Read, 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.Read@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.Read&version=10.0.0-beta.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=ZaminX.BuildingBlocks.Data.EntityFrameworkCore.Read&version=10.0.0-beta.1&prerelease
                    
Install as a Cake Tool

ZaminX.BuildingBlocks.Data.EntityFrameworkCore.Read

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

مسئولیت‌ها

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

  • EfReadRepository<TEntity, TId, TDbContext>
  • paging helper روی IQueryable
  • sorting helper روی IQueryable
  • read repository scanning
  • registration extensionهای مربوط به read side

مدل طراحی

در این پروژه:

  • queryها به‌صورت پیش‌فرض NoTracking هستند
  • اگر SortBy مشخص شده باشد، sorting بر همان اساس اعمال می‌شود
  • اگر SortBy مشخص نشده باشد، repository می‌تواند default sorting اعمال کند
  • fallback پیش‌فرض sorting بر اساس Id و سپس {EntityName}Id به‌صورت نزولی انجام می‌شود

نکته مهم

این پروژه read side را ساده نگه می‌دارد و contract پایه را روی entity یا read model صفحه‌بندی‌شده بنا می‌کند.

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

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

  • specification pattern
  • filtering DSL عمومی
  • projection engine
  • provider registration
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.Read:

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 122 4/12/2026