TestInMemoryTransactionManager TestInMemoryTransactionManager Class

Syntax

Declaration

public class TestInMemoryTransactionManager : InMemoryTransactionManager, IDbContextTransactionManagerPublic Class TestInMemoryTransactionManager
    Inherits InMemoryTransactionManager
    Implements IDbContextTransactionManager

Inheritance Hierarchy

Inherited Members

LogWarning(),
LogWarning(),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Properties summary

Methods summary

Constructors

  • TestInMemoryTransactionManager(ILogger<InMemoryTransactionManager>)
    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

    Property Value

Methods

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

    Returns

  • 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

  • CommitTransaction()
    CommitTransaction()
    public override void CommitTransaction()Public Overrides Sub CommitTransaction
  • RollbackTransaction()
    RollbackTransaction()
    public override void RollbackTransaction()Public Overrides Sub RollbackTransaction

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll