Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Latest commit

 

History

History
72 lines (43 loc) · 1.97 KB

README.md

File metadata and controls

72 lines (43 loc) · 1.97 KB

PowerUtils.BuildingBlocks.Data

⚠️ DEPRECATED

This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project.

Logo

Helpers to work with data layers

License: MIT

Support to

  • .NET 3.1 or more
  • .NET Framework 4.6.2 or more
  • .NET Standard 2.0 or more

How to use

Install NuGet package

This package is available through Nuget Packages: https://www.nuget.org/packages/PowerUtils.BuildingBlocks.Data

Nuget

Install-Package PowerUtils.BuildingBlocks.Data

.NET CLI

dotnet add package PowerUtils.BuildingBlocks.Data

Interfaces

IUnitOfWork

public interface IUnitOfWork : IDisposable
{
    Task<bool> CommitAsync(CancellationToken cancellationToken = default);
    Task RollbackAsync(CancellationToken cancellationToken = default);
}

IRepositoryBase

public interface IRepositoryBase { }

Contribution

If you have any questions, comments, or suggestions, please open an issue or create a pull request