Platy.AdventureWorks.Repository
0.0.6
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Platy.AdventureWorks.Repository --version 0.0.6
NuGet\Install-Package Platy.AdventureWorks.Repository -Version 0.0.6
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="Platy.AdventureWorks.Repository" Version="0.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Platy.AdventureWorks.Repository" Version="0.0.6" />
<PackageReference Include="Platy.AdventureWorks.Repository" />
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 Platy.AdventureWorks.Repository --version 0.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Platy.AdventureWorks.Repository, 0.0.6"
#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 Platy.AdventureWorks.Repository@0.0.6
#: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=Platy.AdventureWorks.Repository&version=0.0.6
#tool nuget:?package=Platy.AdventureWorks.Repository&version=0.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Overview
This is the project template that I use to quickly create a set of repository classes for interacting with any existing database
Features
- The DbContext and Entity classes are internal, which means that external libraries users cannot make db changes without interacting with the repository classes.
- The repository classes validate the entities before making changes to the database
- A Result type is returned in case of success or failure, instead of relying on exceptions.
- A notification is published for every Create, Update and Delete event. External libraries can subscribe to these events.
csxtemplates help generate the code for existing databases to help get started quickly. Uses a forked version of Loresoft EntityFrameworkGenerator.- Integration tests using TestContainers.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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.
-
net9.0
- Ardalis.Result (>= 10.1.0)
- Ardalis.Result.FluentValidation (>= 10.1.0)
- AutoMapper (>= 14.0.0)
- FluentValidation (>= 11.11.0)
- MediatR (>= 12.5.0)
- Microsoft.EntityFrameworkCore.Relational (>= 9.0.2)
- Microsoft.EntityFrameworkCore.Sqlite (>= 9.0.2)
- Microsoft.EntityFrameworkCore.SqlServer (>= 9.0.2)
- Microsoft.EntityFrameworkCore.Tools (>= 9.0.2)
- NetTopologySuite (>= 2.6.0)
- Platy.Shared (>= 0.0.6)
- SQLite (>= 3.13.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
* Net9