CSStack.TADA 1.0.4

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

CSStack.TADA

Transaction-Aware Domain Architecture Toolkit (TADA) – A library of C# classes and interfaces that help you implement TADA in your systems.

日本語の README は下部に続きます。

Key Features

  • Interfaces and base classes for TADA implementations (domain services, repositories, transaction services, etc.)
  • Strongly-typed, safe design
  • .NET 8 support

Main Components and Usage

  • EntityBase: Base class for entities; inherit with your strongly-typed ID.
  • IRepository: Repository interface; abstracts persistence operations.
  • IDomainService: Domain service interfaces for business logic.
  • AggregateServiceBase / IAggregateService: Base/interface for aggregate services using repositories.
  • ITransactionService: Interface for transaction management; used in the Use Case layer.
  • Optional: Utility struct to represent presence/absence of a value (None/Some(null)/Some(value)).

Exceptions

  • Custom exceptions based on TADAException (e.g., ObjectNotFoundException, DomainInvalidOperationException)

For a comprehensive usage guide, see:

  • docs/USAGE.en.md (English)
  • docs/USAGE.ja.md (日本語)

CSStack.TADA(日本語)

Transaction-Aware Domain Architecture(TADA)でシステム構築する際に役立つ C# のクラス・インターフェース群です。

主な特徴

  • ドメインサービス、リポジトリ、トランザクションサービスなど、TADA 実装に必要なインターフェースや基底クラスを提供
  • 型安全性を重視した設計
  • .NET 8 対応

主要コンポーネントと使い方

  • EntityBase: エンティティの基底クラス。強い型付けの ID を指定して継承します。
  • IRepository: リポジトリのインターフェース。永続化処理を抽象化します。
  • IDomainService: ビジネスロジックを実装するためのドメインサービスのインターフェース。
  • AggregateServiceBase / IAggregateService: リポジトリを利用した集約操作のための基底クラス/インターフェース。
  • ITransactionService: トランザクション管理のためのインターフェース。ユースケース層等で利用します。
  • Optional: 値の有無(None/Some(null)/Some(value))を表現するユーティリティ構造体。

例外

  • TADAException を基底とした独自例外群(例: ObjectNotFoundException, DomainInvalidOperationException)

詳細な使い方は以下を参照してください。

  • docs/USAGE.en.md(英語)
  • docs/USAGE.ja.md(日本語)
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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 (1)

Showing the top 1 NuGet packages that depend on CSStack.TADA:

Package Downloads
CSStack.TADA.MagicOnionHelper.Abstractions

Transaction-Aware Domain Architecture(TADA)で実装したユースケースをMagicOnionでAPI化する際に便利なインターフェースやクラスをまとめたライブラリ。 クライアントとサーバのインターフェース部分だけを定義しています。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.4 192 11/3/2025
1.0.3 184 11/3/2025
1.0.2 183 11/3/2025
1.0.1 118 10/19/2025
1.0.0 161 10/18/2025
0.3.6 370 7/10/2025
0.3.5 110 7/5/2025
0.3.4 271 6/9/2025
0.3.3 104 6/7/2025
0.3.2 114 6/7/2025
0.3.1 354 5/20/2025
0.3.0 150 5/17/2025
0.2.1 164 4/27/2025
0.2.0 115 4/27/2025
0.2.0-beta 236 4/16/2025
0.2.0-alpha 214 4/16/2025
0.1.1 208 4/10/2025
0.1.0 335 4/10/2025 0.1.0 is deprecated because it has critical bugs.
0.0.7 118 3/22/2025
0.0.6 164 2/10/2025
0.0.5 146 2/2/2025
0.0.4-beta 136 2/1/2025
0.0.4-alpha 118 1/23/2025
0.0.3 138 1/23/2025
0.0.2 134 1/22/2025
0.0.1 133 1/22/2025

エンティティを削除可能なリポジトリを実装