PackSite.Library.Modeling.Querying.AutoMapper
1.0.2
dotnet add package PackSite.Library.Modeling.Querying.AutoMapper --version 1.0.2
NuGet\Install-Package PackSite.Library.Modeling.Querying.AutoMapper -Version 1.0.2
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="PackSite.Library.Modeling.Querying.AutoMapper" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PackSite.Library.Modeling.Querying.AutoMapper --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PackSite.Library.Modeling.Querying.AutoMapper, 1.0.2"
#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.
// Install PackSite.Library.Modeling.Querying.AutoMapper as a Cake Addin
#addin nuget:?package=PackSite.Library.Modeling.Querying.AutoMapper&version=1.0.2
// Install PackSite.Library.Modeling.Querying.AutoMapper as a Cake Tool
#tool nuget:?package=PackSite.Library.Modeling.Querying.AutoMapper&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Library.Modeling
Data modelling, query specifications, and persistence abstraction layer for modern DDD-based applications.
Features
Targets .NET 5 and .NET 6.
Fluent PackSite.Library.Modeling services configuration.
Domain modelling
- Domain modelling using aggregates, entities, events, and value objects.
- Strongly typed identifiers for each of the aggregates.
- Provides interfaces for common metadata, e.g.
IIdentifiable
,IBlameable
, andITimestampable
.
Specifications
- Persistence provider independed.
- Single expression specifications with friendly text representations for data filtering.
- Specificationos combining with AND, OR relations (CompositeSpecifications).
Querying
- Provides
Query<T>
andQuery<T, TResult>
for building and encapsulating "query specifications" by combining specification, sort descriptor, pagination (take and skip), and metadata. - Provides base interfaces for a Unit of Work.
- Provides base interfaces for a Repository with many common operations.
- Fully extensible by introducing a concept of
Query
metadata, appliers, policies, projectors, and query evaluators. - Names policies for indirect modifications of
Query
, e.g. applying rules for readonly queries like no tracking. - Support for AutoMapper and Linq Select based projections.
- Provides
Db (Persistence providers)
- Entity Framework Core provider (unit of work, repositories, automatic migrator, DbContext targeted interceptors, EF Core specific appliers).
- Solves Entity Framework's update problem by redefining update as normal update with extra tracking check (update changes properties) and override as EF Core update (update all properties).
- More providers coming soon (possibly RavenDb, MongoDB, Blob storage, Elasticsearch).
Examples
See Examples folder for all library usage examples.
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
- AutoMapper (>= 10.1.1)
- AutoMapper.Extensions.Microsoft.DependencyInjection (>= 8.1.1)
- PackSite.Library.Modeling.Querying (>= 1.0.2)
-
net6.0
- AutoMapper (>= 10.1.1)
- AutoMapper.Extensions.Microsoft.DependencyInjection (>= 8.1.1)
- PackSite.Library.Modeling.Querying (>= 1.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.2 | 413 | 12/22/2021 |