Cross.CQRS.EF 9.0.0-preview.23

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

Nuget Documentation

Cross.CQRS.EF

Simple .NET MediatR base EF Transactional Behavior.

Written on C#.

Main Features:

  • Configurable Transaction Behavior

    When added wrap every CommandHandler into EF Transaction, so only whole CommandHandler instructions will be commited or rejected. Flexible configuration of transaction behavior and isolation levels through DI system. Unified transaction handling with support for different transaction behavior.

  • Enhanced Transaction Control

    The ExactTransaction attribute supports for custom isolation levels and transaction behavior configuration on both global and per-handler basis through the Attribute. To switch off transaction behavior wrapper on specific CommandHandler or change isolation level have to use ExactTransaction attribute on the command handler.

  • .NET 6, .NET 7, .NET 8 and Source Linking.

    From version 8.0 repository contains additional .NET 8 projects. From version 7.0 repository contains .NET 6 and .NET 7 projects. Source linking enabled and symbol package is published to nuget symbols server, making debugging easier.

Install with nuget.org:

https://www.nuget.org/packages/Cross.CQRS.EF

Installation

Clone repository or Install Nuget Package

Install-Package Cross.CQRS.EF

Issues and Pull Request

Contribution is welcomed. If you would like to provide a PR please add some testing.

How To's

Please use Wiki for documentation and usage examples.

Complete usage examples can be found in the test project

Note - test project is not a part of nuget package. You have to clone repository.

Roadmap:

  • Add support for distributed transactions and SAGAs
  • Implement transaction timeout configuration
  • Add monitoring and metrics for transactions
  • Provide more examples and documentation for transaction configurations
  • Add integration tests for different isolation levels
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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

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
9.0.0-preview.23 66 6/27/2025
9.0.0-preview.0 107 6/19/2025
8.5.0-preview.22 115 6/19/2025
8.5.0-preview.21 110 6/19/2025
8.5.0-preview.20 108 6/19/2025
8.5.0-preview.19 107 6/19/2025
8.5.0-preview.17 110 6/19/2025
8.5.0-preview.16 108 6/19/2025
8.5.0-preview.15 110 6/19/2025
8.5.0-preview.14 107 6/19/2025
8.5.0-preview.13 114 6/19/2025
8.5.0-preview.12 109 6/18/2025
8.5.0-preview.11 110 6/18/2025
8.5.0-preview.10 118 6/18/2025
8.5.0-preview.9 122 6/17/2025
8.5.0-preview.8 110 6/17/2025
8.4.2-preview.7 116 6/17/2025
8.4.2-preview.6 113 6/17/2025
8.4.1 977 3/9/2025
8.4.1-preview.6 131 3/9/2025
8.4.0 12,562 8/13/2024
8.4.0-preview.2 83 8/12/2024
8.4.0-preview.1 84 8/12/2024
8.3.0 160 8/10/2024
8.3.0-preview.2 88 8/9/2024
8.2.1 944 5/16/2024
8.2.1-preview.6 84 5/16/2024
8.2.0 8,850 4/16/2024
8.1.1 2,219 4/3/2024
8.1.1-preview.1 87 4/3/2024
8.1.0 163 4/3/2024 8.1.0 is deprecated because it has critical bugs.
8.0.1 7,399 11/24/2023
8.0.0 180 11/23/2023
7.0.0 26,617 11/19/2023

Upgraded packages.