FakeRelationalConnection FakeRelationalConnection Class

Definition

public class FakeRelationalConnection : RelationalConnection, IRelationalConnection, IRelationalTransactionManager, IDbContextTransactionManager, IDisposable
Public Class FakeRelationalConnection
    Inherits RelationalConnection
    Implements IRelationalConnection, IRelationalTransactionManager, IDbContextTransactionManager, IDisposable
Inheritance
System.ObjectSystem.Object
FakeRelationalConnectionFakeRelationalConnection
Implements

Constructors

FakeRelationalConnection(IDbContextOptions) FakeRelationalConnection(IDbContextOptions)

public FakeRelationalConnection(IDbContextOptions options)
Public Sub New(options As IDbContextOptions)
Parameters

Properties

ActiveCursor ActiveCursor

Inherited from RelationalConnection

CommandTimeout CommandTimeout

Inherited from RelationalConnection

ConnectionString ConnectionString

Inherited from RelationalConnection

CurrentTransaction CurrentTransaction

Inherited from RelationalConnection

DbConnection DbConnection

Inherited from RelationalConnection

DbConnections DbConnections

public IReadOnlyList<FakeDbConnection> DbConnections { get; }
Public ReadOnly Property DbConnections As IReadOnlyList(Of FakeDbConnection)
Value
System.Collections.Generic.IReadOnlyList<FakeDbConnection> System.Collections.Generic.IReadOnlyList(Of FakeDbConnection)

IsMultipleActiveResultSetsEnabled IsMultipleActiveResultSetsEnabled

Inherited from RelationalConnection

Logger Logger

Inherited from RelationalConnection

Methods

BeginTransaction() BeginTransaction()

Inherited from RelationalConnection

BeginTransaction(IsolationLevel) BeginTransaction(IsolationLevel)

Inherited from RelationalConnection

BeginTransactionAsync(CancellationToken) BeginTransactionAsync(CancellationToken)

Inherited from RelationalConnection

BeginTransactionAsync(IsolationLevel, CancellationToken) BeginTransactionAsync(IsolationLevel, CancellationToken)

Inherited from RelationalConnection

Close() Close()

Inherited from RelationalConnection

CommitTransaction() CommitTransaction()

Inherited from RelationalConnection

CreateDbConnection() CreateDbConnection()

protected override DbConnection CreateDbConnection()
Protected Overrides Function CreateDbConnection As DbConnection
Returns
System.Data.Common.DbConnection System.Data.Common.DbConnection
Overrides

Dispose() Dispose()

Inherited from RelationalConnection

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

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

Open() Open()

Inherited from RelationalConnection

OpenAsync(CancellationToken) OpenAsync(CancellationToken)

Inherited from RelationalConnection

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

Inherited from System.Object

RollbackTransaction() RollbackTransaction()

Inherited from RelationalConnection

ToString() ToString()

Inherited from System.Object

UseTransaction(DbTransaction) UseTransaction(DbTransaction)

Inherited from RelationalConnection