Skip to content

Simple .NET MediatR base EF Transactional Behavior, Paginated Queries, Paginated Models. Written on C#. Published on Nuget at https://www.nuget.org/packages/Cross.CQRS.EF

License

Notifications You must be signed in to change notification settings

denis-peshkov/Cross.CQRS.EF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f0e91d0 · Mar 9, 2025

History

11 Commits
Mar 9, 2025
Aug 13, 2024
Aug 10, 2024
Apr 16, 2024
Nov 19, 2023
May 16, 2024
May 16, 2024
Nov 19, 2023
Apr 3, 2024
Apr 16, 2024
Nov 19, 2023

Repository files navigation

Nuget Documentation

Cross.CQRS.EF

Simple .NET MediatR base EF Transactional Behavior, Paginated Queries, Paginated Models.

Written on C#.

Main Features:

  • TransactionalBehavior and ExplicitTransaction.

    When added wrap every CommandHandler into EF Transaction, so only whole CommandHandler instructions will be commited or rejected. To switch off this wrapper on specific CommandHandler have to use ExplicitTransaction attribute on the command handler.

  • PaginatedQueries and PaginatedModels.

    These classes represent basic requirements to Paginated queries, models and so on.

  • .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:

  • Refactor the Paginated Queries and Paginated Models.

About

Simple .NET MediatR base EF Transactional Behavior, Paginated Queries, Paginated Models. Written on C#. Published on Nuget at https://www.nuget.org/packages/Cross.CQRS.EF

Resources

License

Stars

Watchers

Forks