ArkaSoftware.Framework.Infra.Data.MSSQL.Command
1.0.0
dotnet add package ArkaSoftware.Framework.Infra.Data.MSSQL.Command --version 1.0.0
NuGet\Install-Package ArkaSoftware.Framework.Infra.Data.MSSQL.Command -Version 1.0.0
<PackageReference Include="ArkaSoftware.Framework.Infra.Data.MSSQL.Command" Version="1.0.0" />
<PackageVersion Include="ArkaSoftware.Framework.Infra.Data.MSSQL.Command" Version="1.0.0" />
<PackageReference Include="ArkaSoftware.Framework.Infra.Data.MSSQL.Command" />
paket add ArkaSoftware.Framework.Infra.Data.MSSQL.Command --version 1.0.0
#r "nuget: ArkaSoftware.Framework.Infra.Data.MSSQL.Command, 1.0.0"
#:package ArkaSoftware.Framework.Infra.Data.MSSQL.Command@1.0.0
#addin nuget:?package=ArkaSoftware.Framework.Infra.Data.MSSQL.Command&version=1.0.0
#tool nuget:?package=ArkaSoftware.Framework.Infra.Data.MSSQL.Command&version=1.0.0
ArkaSoftware.Framework.Infra.Data.MSSQL.Command
ArkaSoftware.Framework.Infra.Data.MSSQL.Command is a library designed to provide infrastructure support for handling commands in MSSQL using Entity Framework Core. It offers abstractions, extensions, interceptors, and value converters tailored for efficient database interactions.
Features
Common:
- Base classes for
DbContext, repositories, and unit of work.
- Base classes for
Extensions:
- Utilities for enhancing EF Core functionality (e.g.,
ModelBuilderExtensions,ChangeTrackerExtensions).
- Utilities for enhancing EF Core functionality (e.g.,
Interceptors:
- Database interceptors for auditing and custom behavior (e.g.,
AddAuditDataInterceptor).
- Database interceptors for auditing and custom behavior (e.g.,
OutBoxEventItems:
- Classes and configurations for managing Outbox patterns in MSSQL.
ValueConversions:
- Custom value converters for database fields (e.g.,
BusinessIdConversion,ImageConversion).
- Custom value converters for database fields (e.g.,
Project Structure
Common
- BaseCommandDbContext.cs: Base class for EF Core DbContext configured for command operations.
- BaseCommandRepository.cs: Generic repository for command operations.
- BaseEntityFrameworkUnitOfWork.cs: Implementation of Unit of Work.
- BaseOutboxCommandDbContext.cs: Specialized DbContext for Outbox pattern.
Extensions
- AuditableShadowProperties.cs: Utilities for managing shadow properties.
- ChangeTrackerExtensions.cs: Enhancements for EF Core change tracking.
- DbCommandExtension.cs: Extensions for database command customization.
- ModelBuilderExtensions.cs: Extensions for model building.
- RowVersionShadowProperty.cs: Shadow property management for row versioning.
Interceptors
- AddAuditDataInterceptor.cs: Interceptor for adding audit data to database operations.
- SetPersianYeKeInterceptor.cs: Interceptor for handling Persian-specific text formatting.
OutBoxEventItems
- OutBoxEventItem.cs: Represents an outbox event.
- OutBoxEventItemConfigure.cs: Configuration for the outbox event entity.
ValueConversions
- BusinessIdConversion.cs: Custom converter for Business IDs.
- DescriptionConvention.cs: Converter for descriptions.
- ImageConversion.cs: Converter for image data.
- PldConversion.cs: Converter for custom PLD values.
Installation and Usage
Add this library to your project:
dotnet add package Arks.Framework.Infra.Data.MSSQL.CommandExtend the provided base classes and configure EF Core as needed.
Utilize extensions and interceptors to enhance database interactions.
Contribution
If you want to contribute to this project:
- Fork the repository.
- Make your changes.
- Submit a Pull Request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For inquiries or issues, please reach out to your.email@example.com.
| 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. |
-
net9.0
- ArkaSoftware.Extensions.Serializers.Abstractions (>= 1.0.0)
- ArkaSoftware.Extensions.UsersManagement.Abstractions (>= 1.0.0)
- ArkaSoftware.Framework.Core.Contracts (>= 1.0.0)
- ArkaSoftware.Framework.Core.Domain (>= 1.0.0)
- ArkaSoftware.Framework.Utilities.OutService (>= 1.0.0)
- Microsoft.EntityFrameworkCore (>= 8.0.6)
- Microsoft.EntityFrameworkCore.SqlServer (>= 8.0.6)
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 |
|---|