InMemoryTransactionManager InMemoryTransactionManager Class

Syntax

Declaration

public class InMemoryTransactionManager : IDbContextTransactionManagerPublic Class InMemoryTransactionManager
    Implements IDbContextTransactionManager

Inheritance Hierarchy

  • System.Object
    System.Object
  • InMemoryTransactionManager
    InMemoryTransactionManager

Inherited Members

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

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

    Parameters

Properties

  • CurrentTransaction
    CurrentTransaction
    public virtual IDbContextTransaction CurrentTransaction { get; }Public Overridable ReadOnly Property CurrentTransaction As IDbContextTransaction

    Property Value

Methods

  • BeginTransaction()
    BeginTransaction()
    public virtual IDbContextTransaction BeginTransaction()Public Overridable Function BeginTransaction As IDbContextTransaction

    Returns

  • BeginTransactionAsync(CancellationToken)
    BeginTransactionAsync(CancellationToken)
    public virtual Task<IDbContextTransaction> BeginTransactionAsync(CancellationToken cancellationToken = null)Public Overridable Function BeginTransactionAsync(cancellationToken As CancellationToken = Nothing) As Task(Of IDbContextTransaction)

    Parameters

    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

  • CommitTransaction()
    CommitTransaction()
    public virtual void CommitTransaction()Public Overridable Sub CommitTransaction
  • LogWarning()
    LogWarning()
    protected virtual void LogWarning()Protected Overridable Sub LogWarning
  • RollbackTransaction()
    RollbackTransaction()
    public virtual void RollbackTransaction()Public Overridable Sub RollbackTransaction

Details

Assembly

Microsoft.EntityFrameworkCore.InMemory.dll