Nanis.RepositoryCriteria.EntityFrameworkCore
1.0.0
See the version list below for details.
dotnet add package Nanis.RepositoryCriteria.EntityFrameworkCore --version 1.0.0
NuGet\Install-Package Nanis.RepositoryCriteria.EntityFrameworkCore -Version 1.0.0
<PackageReference Include="Nanis.RepositoryCriteria.EntityFrameworkCore" Version="1.0.0" />
paket add Nanis.RepositoryCriteria.EntityFrameworkCore --version 1.0.0
#r "nuget: Nanis.RepositoryCriteria.EntityFrameworkCore, 1.0.0"
// Install Nanis.RepositoryCriteria.EntityFrameworkCore as a Cake Addin #addin nuget:?package=Nanis.RepositoryCriteria.EntityFrameworkCore&version=1.0.0 // Install Nanis.RepositoryCriteria.EntityFrameworkCore as a Cake Tool #tool nuget:?package=Nanis.RepositoryCriteria.EntityFrameworkCore&version=1.0.0
Nanis Repository Library
Nanis.RepositoryCriteria.EntityFrameworkCore is a library designed to implement an abstraction of the Repository pattern using Entity Framework. This library also implements the Unit of Work pattern to manage database transactions and commits, and the Criteria pattern to build complex queries with logical operators and criteria composition.
Key Features
- Repository Pattern: Provides an abstraction for data access using Entity Framework, enabling operations such as
Create
,Read
,Update
, andDelete
. - Unit of Work Pattern: Manages transactions centrally, allowing commits or rollbacks of changes to the database.
- Criteria Pattern: Allows building dynamic and robust queries with filters, sorting, pagination, and entity relationships.
Installation
Using NuGet
You can install this library directly from NuGet into your .NET project by running the following command:
dotnet add package Nanis.RepositoryCriteria.EntityFrameworkCore
Manual Installation
git clone https://github.com/cacuellarh/Nanis.RepositoryCriteria.EntityFrameworkCore-
Contributing
If you want to contribute to this project, please follow these steps:
Fork the repository. Create a branch for your changes. Submit a pull request with a detailed description of the changes.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net8.0
- EntityFrameworkCore.Testing.Moq (>= 8.0.0)
- Microsoft.EntityFrameworkCore (>= 8.0.10)
- Microsoft.EntityFrameworkCore.Abstractions (>= 8.0.10)
- Moq (>= 4.20.72)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.