TestInMemoryTransactionManager TestInMemoryTransactionManager Class

Definition

public class TestInMemoryTransactionManager : InMemoryTransactionManager, IDbContextTransactionManager
Public Class TestInMemoryTransactionManager
    Inherits InMemoryTransactionManager
    Implements IDbContextTransactionManager
Inheritance
System.ObjectSystem.Object
TestInMemoryTransactionManagerTestInMemoryTransactionManager
Implements

Constructors

TestInMemoryTransactionManager(ILogger) TestInMemoryTransactionManager(ILogger(Of InMemoryTransactionManager))

public TestInMemoryTransactionManager(ILogger<InMemoryTransactionManager> logger)
Public Sub New(logger As ILogger(Of InMemoryTransactionManager))
Parameters

Properties

CurrentTransaction CurrentTransaction

public override IDbContextTransaction CurrentTransaction { get; }
Public Overrides ReadOnly Property CurrentTransaction As IDbContextTransaction
Overrides

Methods

BeginTransaction() BeginTransaction()

public override IDbContextTransaction BeginTransaction()
Public Overrides Function BeginTransaction As IDbContextTransaction
Returns
Overrides

BeginTransactionAsync(CancellationToken) BeginTransactionAsync(CancellationToken)

public override Task<IDbContextTransaction> BeginTransactionAsync(CancellationToken cancellationToken = null)
Public Overrides Function BeginTransactionAsync(cancellationToken As CancellationToken = Nothing) As Task(Of IDbContextTransaction)
Parameters
cancellationToken
System.Threading.CancellationToken System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<IDbContextTransaction> System.Threading.Tasks.Task(Of IDbContextTransaction)
Overrides

CommitTransaction() CommitTransaction()

public override void CommitTransaction()
Public Overrides Sub CommitTransaction
Overrides

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

LogWarning() LogWarning()

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

RollbackTransaction() RollbackTransaction()

public override void RollbackTransaction()
Public Overrides Sub RollbackTransaction
Overrides

ToString() ToString()

Inherited from System.Object