TestInMemoryTransactionManager TestInMemoryTransactionManager Class

Definition

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

Inherited Members

Microsoft.EntityFrameworkCore.Storage.Internal.InMemoryTransactionManager

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

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

RollbackTransaction() RollbackTransaction()

public override void RollbackTransaction()
Public Overrides Sub RollbackTransaction
Overrides