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

TechNobre/PowerUtils.BuildingBlocks.Data

Repository files navigation

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