ArkaSoftware.Framework.Infra.Data.MSSQL.Command 1.0.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
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
                    
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="ArkaSoftware.Framework.Infra.Data.MSSQL.Command" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ArkaSoftware.Framework.Infra.Data.MSSQL.Command" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ArkaSoftware.Framework.Infra.Data.MSSQL.Command" />
                    
Project file
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 ArkaSoftware.Framework.Infra.Data.MSSQL.Command --version 1.0.0
                    
#r "nuget: ArkaSoftware.Framework.Infra.Data.MSSQL.Command, 1.0.0"
                    
#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 ArkaSoftware.Framework.Infra.Data.MSSQL.Command@1.0.0
                    
#: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=ArkaSoftware.Framework.Infra.Data.MSSQL.Command&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ArkaSoftware.Framework.Infra.Data.MSSQL.Command&version=1.0.0
                    
Install as a Cake Tool

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.
  • Extensions:

    • Utilities for enhancing EF Core functionality (e.g., ModelBuilderExtensions, ChangeTrackerExtensions).
  • Interceptors:

    • Database interceptors for auditing and custom behavior (e.g., AddAuditDataInterceptor).
  • OutBoxEventItems:

    • Classes and configurations for managing Outbox patterns in MSSQL.
  • ValueConversions:

    • Custom value converters for database fields (e.g., BusinessIdConversion, ImageConversion).

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

  1. Add this library to your project:

    dotnet add package Arks.Framework.Infra.Data.MSSQL.Command
    
  2. Extend the provided base classes and configure EF Core as needed.

  3. Utilize extensions and interceptors to enhance database interactions.


Contribution

If you want to contribute to this project:

  1. Fork the repository.
  2. Make your changes.
  3. 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 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.

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