Skip to content

Commit c758fa0

Browse files
Migrations
1 parent a58a308 commit c758fa0

5 files changed

Lines changed: 1858 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System.Transactions;
2+
3+
namespace Dotnet6.GraphQL4.Repositories.Abstractions.DependencyInjection.Options
4+
{
5+
public class TransactionOptions
6+
{
7+
private const IsolationLevel DefaultIsolationLevel = IsolationLevel.ReadCommitted;
8+
private IsolationLevel? _isolationLevel;
9+
10+
public IsolationLevel IsolationLevel
11+
{
12+
get => _isolationLevel ?? DefaultIsolationLevel;
13+
set => _isolationLevel = value;
14+
}
15+
}
16+
}

0 commit comments

Comments
 (0)