Intelsoft.Platform.Infrastructure.Data.EntityFrameworkCore
1.0.0-beta-1
dotnet add package Intelsoft.Platform.Infrastructure.Data.EntityFrameworkCore --version 1.0.0-beta-1
NuGet\Install-Package Intelsoft.Platform.Infrastructure.Data.EntityFrameworkCore -Version 1.0.0-beta-1
<PackageReference Include="Intelsoft.Platform.Infrastructure.Data.EntityFrameworkCore" Version="1.0.0-beta-1" />
paket add Intelsoft.Platform.Infrastructure.Data.EntityFrameworkCore --version 1.0.0-beta-1
#r "nuget: Intelsoft.Platform.Infrastructure.Data.EntityFrameworkCore, 1.0.0-beta-1"
// Install Intelsoft.Platform.Infrastructure.Data.EntityFrameworkCore as a Cake Addin #addin nuget:?package=Intelsoft.Platform.Infrastructure.Data.EntityFrameworkCore&version=1.0.0-beta-1&prerelease // Install Intelsoft.Platform.Infrastructure.Data.EntityFrameworkCore as a Cake Tool #tool nuget:?package=Intelsoft.Platform.Infrastructure.Data.EntityFrameworkCore&version=1.0.0-beta-1&prerelease
Intelsoft.Platform.Infrastructure.Data.EntityFrameworkCore
This project provides the Entity Framework Core implementation for data access and persistence within the Intelsoft Platform infrastructure.
Overview
The Intelsoft.Platform.Infrastructure.Data.EntityFrameworkCore
project implements data access logic using Entity Framework Core. It includes repositories, unit of work patterns, and other infrastructure components to facilitate interaction with the underlying database.
Features
- DbContext: Contains the main database context class for Entity Framework Core.
- Repositories: Generic repositories for accessing and manipulating entities in the database.
- Unit of Work: Implementation of the unit of work pattern to manage transactions across multiple repositories.
Installation
You can install this package via NuGet. Run the following command in the Package Manager Console:
PM> Install-Package Intelsoft.Platform.Infrastructure.Data.EntityFrameworkCore
Usage
- Register Services: Ensure to register the required services in your application's DI container.
- Inject Dependencies: Inject the DbContext, repositories, or unit of work wherever necessary in your application.
- Use Repositories: Utilize the repositories to perform CRUD operations on your entities.
- Manage Transactions: Use the unit of work pattern to manage transactions across multiple repository operations.
Dependencies
- .NET 6.0
- Entity Framework Core 6.0
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
- Intelsoft.Platform.Domain.Core (>= 1.0.0-beta-1)
- Microsoft.EntityFrameworkCore (>= 8.0.4)
- Microsoft.EntityFrameworkCore.Relational (>= 8.0.4)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
- Polly (>= 8.3.1)
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-beta-1 | 78 | 4/14/2024 |