diff --git a/Azofe.Core.Tests/Azofe.Core.Tests.csproj b/Azofe.Core.Tests/Azofe.Core.Tests.csproj index 71693d9..d351681 100644 --- a/Azofe.Core.Tests/Azofe.Core.Tests.csproj +++ b/Azofe.Core.Tests/Azofe.Core.Tests.csproj @@ -5,9 +5,9 @@ enable - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Azofe.Core/Azofe.Core.csproj b/Azofe.Core/Azofe.Core.csproj index 6441f1e..dc2e65f 100644 --- a/Azofe.Core/Azofe.Core.csproj +++ b/Azofe.Core/Azofe.Core.csproj @@ -12,14 +12,14 @@ Azofe https://github.com/felixsevero/Azofe.Core.git net8.0 - 0.2.0 + 0.3.0 - + diff --git a/Azofe.Core/ITransactionFactory.cs b/Azofe.Core/ITransactionFactory.cs index 2fb9e99..e63aac8 100644 --- a/Azofe.Core/ITransactionFactory.cs +++ b/Azofe.Core/ITransactionFactory.cs @@ -1,13 +1,17 @@ namespace Azofe.Core; -public interface ITransaction: IDisposable { +public interface ITransaction: IAsyncDisposable, IDisposable { void Complete(); + Task CompleteAsync(); + } public interface ITransactionFactory { ITransaction CreateTransaction(); + Task CreateTransactionAsync(); + }