SqlServerConnection SqlServerConnection Class

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.

Syntax

Declaration

public class SqlServerConnection : RelationalConnection, ISqlServerConnection, IRelationalConnection, IRelationalTransactionManager, IDbContextTransactionManager, IDisposablePublic Class SqlServerConnection
    Inherits RelationalConnection
    Implements ISqlServerConnection, IRelationalConnection, IRelationalTransactionManager, IDbContextTransactionManager, IDisposable

Inheritance Hierarchy

Inherited Members

Logger,
Logger,
ConnectionString,
ConnectionString,
DbConnection,
DbConnection,
CurrentTransaction,
CurrentTransaction,
CommandTimeout,
CommandTimeout,
BeginTransaction(),
BeginTransaction(),
BeginTransactionAsync(CancellationToken),
BeginTransactionAsync(CancellationToken),
BeginTransaction(IsolationLevel),
BeginTransaction(IsolationLevel),
BeginTransactionAsync(IsolationLevel, CancellationToken),
BeginTransactionAsync(IsolationLevel, CancellationToken),
UseTransaction(DbTransaction),
UseTransaction(DbTransaction),
CommitTransaction(),
CommitTransaction(),
RollbackTransaction(),
RollbackTransaction(),
Open(),
Open(),
OpenAsync(CancellationToken),
OpenAsync(CancellationToken),
Close(),
Close(),
ActiveCursor,
ActiveCursor,
Dispose(),
Dispose(),
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

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.

Properties summary

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.

Methods summary

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.

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.

Constructors

  • SqlServerConnection(IDbContextOptions, ILogger<SqlServerConnection>)
    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

Properties

  • 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

    Property Value

    • System.Boolean
      System.Boolean

Methods

  • 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
  • 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

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.dll