SqlServerConnection SqlServerConnection 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 SqlServerConnection : RelationalConnection, ISqlServerConnection, IRelationalConnection, IRelationalTransactionManager, IDbContextTransactionManager, IDisposable
Public Class SqlServerConnection
    Inherits RelationalConnection
    Implements ISqlServerConnection, IRelationalConnection, IRelationalTransactionManager, IDbContextTransactionManager, IDisposable
Inheritance
System.ObjectSystem.Object
SqlServerConnectionSqlServerConnection
Implements

Constructors

SqlServerConnection(IDbContextOptions, ILogger) SqlServerConnection(IDbContextOptions, ILogger(Of SqlServerConnection))

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 SqlServerConnection(IDbContextOptions options, ILogger<SqlServerConnection> logger)
Public Sub New(options As IDbContextOptions, logger As ILogger(Of SqlServerConnection))
Parameters
logger
ILogger<SqlServerConnection> ILogger(Of SqlServerConnection)

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

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

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

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
System.Data.Common.DbConnection System.Data.Common.DbConnection
Overrides

CreateMasterConnection() CreateMasterConnection()

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 ISqlServerConnection CreateMasterConnection()
Public Overridable Function CreateMasterConnection As ISqlServerConnection
Returns

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