CqrsPipeline.DataAccess.EntityFramework
1.0.0
dotnet add package CqrsPipeline.DataAccess.EntityFramework --version 1.0.0
NuGet\Install-Package CqrsPipeline.DataAccess.EntityFramework -Version 1.0.0
<PackageReference Include="CqrsPipeline.DataAccess.EntityFramework" Version="1.0.0" />
paket add CqrsPipeline.DataAccess.EntityFramework --version 1.0.0
#r "nuget: CqrsPipeline.DataAccess.EntityFramework, 1.0.0"
// Install CqrsPipeline.DataAccess.EntityFramework as a Cake Addin #addin nuget:?package=CqrsPipeline.DataAccess.EntityFramework&version=1.0.0 // Install CqrsPipeline.DataAccess.EntityFramework as a Cake Tool #tool nuget:?package=CqrsPipeline.DataAccess.EntityFramework&version=1.0.0
CqrsPipeline
CqrsPipeline is a light laibrary for implementing CQRS patern in your software.you can define your command and query objects and send to pipeline, CqrsPipeline send them to that`s handlers
Commands
You can define your commands in three ways:
1 - Inherit from ICommand : For commands that have no output data and only the result of their correct execution or their errors are important
2 - Inherit from ICommand<TData> : For commands that have output data and in addition to the result of their correct execution or their errors, the output data must also be returned
3 - Inherit from ICommand<TResult,TData> : For commands that have output data and in addition to the result of their correct execution or their errors, the output data must also be returned and you want to change the format of the output result and add items to it
Queries
You can define your commands in one ways yet but we are developing new ways for you in next versions:
1 - Inhrit from IQuery<TData>
Validation
CqrsPipeline use FluentValidation library for validating your commands ,You just have to create the validator for commands or queries and CqrsPipeline find them and check on your commands See Validators in FluentValidation
Exception handling
CqrsPipeline has an exception model that if you create exceptions to this model, it will handle it for you and turn it into an error model.
Data access layer
Data access layer developed for entity framework and microsoft sql server
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. 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 was computed. 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 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- CqrsPipeline.DataAccess (>= 1.0.0)
- Microsoft.EntityFrameworkCore (>= 5.0.2)
-
net5.0
- CqrsPipeline.DataAccess (>= 1.0.0)
- Microsoft.EntityFrameworkCore (>= 5.0.2)
-
net6.0
- CqrsPipeline.DataAccess (>= 1.0.0)
- Microsoft.EntityFrameworkCore (>= 5.0.2)
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 |
---|---|---|
1.0.0 | 227 | 5/5/2022 |