![]() |
VOOZH | about |
dotnet add package Sparkdo.Ddd.Domain --version 1.0.3
NuGet\Install-Package Sparkdo.Ddd.Domain -Version 1.0.3
<PackageReference Include="Sparkdo.Ddd.Domain" Version="1.0.3" />
<PackageVersion Include="Sparkdo.Ddd.Domain" Version="1.0.3" />Directory.Packages.props
<PackageReference Include="Sparkdo.Ddd.Domain" />Project file
paket add Sparkdo.Ddd.Domain --version 1.0.3
#r "nuget: Sparkdo.Ddd.Domain, 1.0.3"
#:package Sparkdo.Ddd.Domain@1.0.3
#addin nuget:?package=Sparkdo.Ddd.Domain&version=1.0.3Install as a Cake Addin
#tool nuget:?package=Sparkdo.Ddd.Domain&version=1.0.3Install as a Cake Tool
Sparkdo DDD 领域模型库,提供领域驱动设计的核心组件实现。
<PackageReference Include="Sparkdo.Ddd.Domain" Version="x.x.x" />
Entity: 抽象实体基类,实现基本的实体功能Entity<TKey>: 泛型实体基类,提供主键支持IRepository: 仓储标记接口IRepository<TEntity>: 实体仓储接口,提供基本的仓储操作IRepository<TEntity, TKey>: 泛型仓储接口,提供主键相关的仓储操作IDistributedEventHandler<TEvent>: 分布式事件处理器接口EntitySynchronizer<TEntity, TSourceEntityEto>: 实体同步器基类,用于处理分布式实体事件ChangeTrackingInterceptor: 变更跟踪拦截器,用于拦截仓储操作并记录变更信息IEntityChangeTrackingProvider: 实体变更跟踪提供者接口该库提供了 DDD 领域模型的基础实现,可以通过以下方式扩展:
Entity 或 Entity<TKey> 创建具体实体类IRepository<TEntity> 或 IRepository<TEntity, TKey> 创建具体仓储实现EntitySynchronizer<TEntity, TSourceEntityEto> 创建实体同步器处理分布式事件本项目包含以下主要组件:
Entity: 抽象实体基类实现IEntity: 实体接口定义IEntity<TKey>: 泛型实体接口定义IRepository: 仓储接口定义IBasicRepository: 基础仓储接口IReadOnlyRepository: 只读仓储接口EntitySynchronizer: 实体同步器基类IEntityEto: 实体事件传输对象接口EntityCreatedEto: 实体创建事件传输对象EntityUpdatedEto: 实体更新事件传输对象EntityDeletedEto: 实体删除事件传输对象ChangeTrackingInterceptor: 变更跟踪拦截器IEntityChangeTrackingProvider: 实体变更跟踪提供者接口所有公共接口和类都添加了详细的 XML 文档注释,便于开发者理解和使用。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Sparkdo.Ddd.Domain:
| Package | Downloads |
|---|---|
|
Sparkdo.Ddd.Application
Sparkdo DDD应用层库,提供DDD应用服务的基础实现 |
|
|
Sparkdo.EntityFrameworkCore
Sparkdo Entity Framework Core 集成库,提供与 EF Core 的深度集成支持 |
|
|
Sparkdo.TenantManagement.Domain
Sparkdo 租户管理领域层,提供租户管理的核心业务逻辑和数据访问接口 |
|
|
Sparkdo.SettingManagement.Domain
Sparkdo 设置管理领域库,提供设置管理功能的核心领域模型、仓储接口和业务逻辑实现 |
|
|
Sparkdo.PermissionManagement.Domain
Sparkdo 权限管理领域库,提供权限管理功能的核心领域模型、仓储接口和业务逻辑实现 |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.4-preview.3 | 148 | 6/8/2026 |
| 1.0.4-preview.2 | 146 | 6/7/2026 |
| 1.0.4-preview.1 | 150 | 6/7/2026 |
| 1.0.3 | 348 | 6/6/2026 |
| 1.0.3-preview.1 | 150 | 5/17/2026 |
| 1.0.2 | 292 | 4/27/2026 |
| 1.0.2-preview.5 | 84 | 4/15/2026 |
| 1.0.2-preview.4 | 91 | 2/8/2026 |
| 1.0.2-preview.3 | 100 | 2/1/2026 |
| 1.0.2-preview.2 | 110 | 1/31/2026 |
| 1.0.2-preview.1 | 179 | 12/4/2025 |
| 1.0.1 | 834 | 11/27/2025 |
| 1.0.0 | 753 | 11/25/2025 |
| 1.0.0-preview.5 | 146 | 10/24/2025 |