InMemoryTransactionManager InMemoryTransactionManager Class

Definition

public class InMemoryTransactionManager : IDbContextTransactionManager
Public Class InMemoryTransactionManager
    Implements IDbContextTransactionManager
Inheritance
System.ObjectSystem.Object
InMemoryTransactionManagerInMemoryTransactionManager
Implements

Constructors

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

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
System.Threading.Tasks.Task<IDbContextTransaction> System.Threading.Tasks.Task(Of IDbContextTransaction)

CommitTransaction() CommitTransaction()

public virtual void CommitTransaction()
Public Overridable Sub CommitTransaction

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()

protected virtual void LogWarning()
Protected Overridable Sub LogWarning

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

RollbackTransaction() RollbackTransaction()

public virtual void RollbackTransaction()
Public Overridable Sub RollbackTransaction

ToString() ToString()

Inherited from System.Object