FakeDbTransaction FakeDbTransaction Class

Syntax

Declaration

public class FakeDbTransaction : DbTransaction, IDbTransaction, IDisposablePublic Class FakeDbTransaction
    Inherits DbTransaction
    Implements IDbTransaction, IDisposable

Inheritance Hierarchy

  • System.Object
    System.Object
  • System.MarshalByRefObject
    System.MarshalByRefObject
  • System.Data.Common.DbTransaction
    System.Data.Common.DbTransaction
  • FakeDbTransaction
    FakeDbTransaction

Inherited Members

Dispose(),
Dispose(),
Connection,
Connection,
IDbTransaction.Connection,
System.Data.IDbTransaction.Connection,
MemberwiseClone(Boolean),
MemberwiseClone(Boolean),
GetLifetimeService(),
GetLifetimeService(),
InitializeLifetimeService(),
InitializeLifetimeService(),
CreateObjRef(Type),
CreateObjRef(Type),
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

  • FakeDbTransaction(FakeDbConnection, IsolationLevel)
    FakeDbTransaction(FakeDbConnection, IsolationLevel)
    public FakeDbTransaction(FakeDbConnection connection, IsolationLevel isolationLevel = IsolationLevel.Unspecified)Public Sub New(connection As FakeDbConnection, isolationLevel As IsolationLevel = IsolationLevel.Unspecified)

    Parameters

Properties

  • CommitCount
    CommitCount
    public int CommitCount { get; }Public ReadOnly Property CommitCount As Integer

    Property Value

    • System.Int32
      System.Int32
  • DbConnection
    DbConnection
    protected override DbConnection DbConnection { get; }Protected Overrides ReadOnly Property DbConnection As DbConnection

    Property Value

    • System.Data.Common.DbConnection
      System.Data.Common.DbConnection
  • DisposeCount
    DisposeCount
    public int DisposeCount { get; }Public ReadOnly Property DisposeCount As Integer

    Property Value

    • System.Int32
      System.Int32
  • IsolationLevel
    IsolationLevel
    public override IsolationLevel IsolationLevel { get; }Public Overrides ReadOnly Property IsolationLevel As IsolationLevel

    Property Value

    • System.Data.IsolationLevel
      System.Data.IsolationLevel
  • RollbackCount
    RollbackCount
    public int RollbackCount { get; }Public ReadOnly Property RollbackCount As Integer

    Property Value

    • System.Int32
      System.Int32

Methods

  • Commit()
    Commit()
    public override void Commit()Public Overrides Sub Commit
  • Dispose(Boolean)
    Dispose(Boolean)
    protected override void Dispose(bool disposing)Protected Overrides Sub Dispose(disposing As Boolean)

    Parameters

    • disposing
      System.Boolean
      System.Boolean
  • Rollback()
    Rollback()
    public override void Rollback()Public Overrides Sub Rollback

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.Tests.dll