SqliteRelationalConnection SqliteRelationalConnection Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

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

Constructors

SqliteRelationalConnection(IRawSqlCommandBuilder, IDbContextOptions, ILogger) SqliteRelationalConnection(IRawSqlCommandBuilder, IDbContextOptions, ILogger(Of SqliteRelationalConnection))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public SqliteRelationalConnection(IRawSqlCommandBuilder rawSqlCommandBuilder, IDbContextOptions options, ILogger<SqliteRelationalConnection> logger)
Public Sub New(rawSqlCommandBuilder As IRawSqlCommandBuilder, options As IDbContextOptions, logger As ILogger(Of SqliteRelationalConnection))
Parameters

Properties

ActiveCursor ActiveCursor

Gets or sets the active cursor.

(Inherited from RelationalConnection)

CommandTimeout CommandTimeout

Gets the timeout for executing a command against the database.

(Inherited from RelationalConnection)

ConnectionString ConnectionString

Gets the connection string for the database.

(Inherited from RelationalConnection)

CurrentTransaction CurrentTransaction

Gets the current transaction.

(Inherited from RelationalConnection)

DbConnection DbConnection

Gets the underlying System.Data.Common.DbConnection used to connect to the database.

(Inherited from RelationalConnection)

IsMultipleActiveResultSetsEnabled IsMultipleActiveResultSetsEnabled

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override bool IsMultipleActiveResultSetsEnabled { get; }
Public Overrides ReadOnly Property IsMultipleActiveResultSetsEnabled As Boolean
Value
System.Boolean System.Boolean
Overrides

Logger Logger

Gets the logger to write to.

(Inherited from RelationalConnection)

Methods

BeginTransaction() BeginTransaction()

Begins a new transaction.

(Inherited from RelationalConnection)

BeginTransaction(IsolationLevel) BeginTransaction(IsolationLevel)

Begins a new transaction.

(Inherited from RelationalConnection)

BeginTransactionAsync(CancellationToken) BeginTransactionAsync(CancellationToken)

Asynchronously begins a new transaction.

(Inherited from RelationalConnection)

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

Asynchronously begins a new transaction.

(Inherited from RelationalConnection)

Close() Close()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override void Close()
Public Overrides Sub Close
Overrides

CommitTransaction() CommitTransaction()

Commits all changes made to the database in the current transaction.

(Inherited from RelationalConnection)

CreateDbConnection() CreateDbConnection()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected override DbConnection CreateDbConnection()
Protected Overrides Function CreateDbConnection As DbConnection
Returns
DbConnection DbConnection
Overrides

CreateReadOnlyConnection() CreateReadOnlyConnection()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual SqliteRelationalConnection CreateReadOnlyConnection()
Public Overridable Function CreateReadOnlyConnection As SqliteRelationalConnection
Returns

Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

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

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override void Open()
Public Overrides Sub Open
Overrides

OpenAsync(CancellationToken) OpenAsync(CancellationToken)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override Task OpenAsync(CancellationToken cancellationToken = null)
Public Overrides Function OpenAsync(cancellationToken As CancellationToken = Nothing) As Task
Parameters
cancellationToken
System.Threading.CancellationToken System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task
Overrides

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

Inherited from System.Object

RollbackTransaction() RollbackTransaction()

Discards all changes made to the database in the current transaction.

(Inherited from RelationalConnection)

ToString() ToString()

Inherited from System.Object

UseTransaction(DbTransaction) UseTransaction(DbTransaction)

Specifies an existing System.Data.Common.DbTransaction to be used for database operations.

(Inherited from RelationalConnection)