3 instantiations of SqlInternalConnectionTds
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
2130
using (SqlInternalConnectionTds con = new
SqlInternalConnectionTds
(null, connectionOptions, credential, null, newPassword, newSecurePassword, false)) {
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (2)
95
sseConnection = new
SqlInternalConnectionTds
(identity, sseopt, key.Credential, null, "", null, false, applyTransientFaultHandling: applyTransientFaultHandling);
127
result = new
SqlInternalConnectionTds
(identity, opt, key.Credential, poolGroupProviderInfo, "", null, redirectedUserInstance, userOpt, recoverySessionData, pool, key.AccessToken, applyTransientFaultHandling: applyTransientFaultHandling);
69 references to SqlInternalConnectionTds
System.Data (69)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (10)
262
private
SqlInternalConnectionTds
.SyncAsyncLock _parserLock = null;
1189
SqlInternalConnectionTds
internalConnection = _connection.GetOpenTdsConnection();
1204
SqlInternalConnectionTds
internalConnection = _connection.GetOpenTdsConnection();
1216
SqlInternalConnectionTds
internalConnection = _connection.GetOpenTdsConnection();
1232
SqlInternalConnectionTds
internalConnection = _connection.GetOpenTdsConnection();
1772
SqlInternalConnectionTds
internalConnection = _connection.GetOpenTdsConnection();
1936
SqlInternalConnectionTds
internalConnection = _connection.GetOpenTdsConnection();
2234
SqlInternalConnectionTds
internalConnection = _connection.GetOpenTdsConnection();
2386
SqlInternalConnectionTds
internalConnection = _connection.GetOpenTdsConnection();
2559
SqlInternalConnectionTds
internalConnection = _connection.GetOpenTdsConnection();
fx\src\data\System\Data\SqlClient\SqlCommand.cs (14)
533
private
SqlInternalConnectionTds
InternalTdsConnection {
535
return (
SqlInternalConnectionTds
)_activeConnection.InnerConnection;
1022
SqlInternalConnectionTds
connection = (_activeConnection.InnerConnection as
SqlInternalConnectionTds
);
1032
if (connection != (_activeConnection.InnerConnection as
SqlInternalConnectionTds
)) { // make sure the connection held on the active connection is what we have stored in our temp connection variable, if not between getting "connection" and takeing the lock, the connection has been closed
3025
SqlInternalConnectionTds
internalConnection = _activeConnection.InnerConnection as
SqlInternalConnectionTds
;
3256
SqlInternalConnectionTds
internalConnectionTds = _activeConnection.GetOpenTdsConnection();
3387
SqlInternalConnectionTds
internalConnectionTds = _activeConnection.GetOpenTdsConnection();
3458
SqlInternalConnectionTds
internalConnectionTds = _activeConnection.GetOpenTdsConnection();
4563
SqlInternalConnectionTds
innerConnectionTds = (_activeConnection.InnerConnection as
SqlInternalConnectionTds
);
4808
SqlInternalConnectionTds
tdsConnection = _activeConnection.InnerConnection as
SqlInternalConnectionTds
;
fx\src\data\System\Data\SqlClient\SqlConnection.cs (20)
677
SqlInternalConnectionTds
innerConnection = (InnerConnection as
SqlInternalConnectionTds
);
699
SqlInternalConnectionTds
innerConnection = (InnerConnection as
SqlInternalConnectionTds
);
1160
var
innerConnection = (InnerConnection as
SqlInternalConnectionTds
);
1285
SqlInternalConnectionTds
tdsConn = GetOpenTdsConnection();
1357
SqlInternalConnectionTds
tdsConn = InnerConnection as
SqlInternalConnectionTds
;
1579
var
tdsInnerConnection = (InnerConnection as
SqlInternalConnectionTds
);
1676
SqlInternalConnectionTds
tdsConnection = (GetOpenConnection() as
SqlInternalConnectionTds
);
1821
internal
SqlInternalConnectionTds
GetOpenTdsConnection() {
1822
SqlInternalConnectionTds
innerConnection = (InnerConnection as
SqlInternalConnectionTds
);
1829
internal
SqlInternalConnectionTds
GetOpenTdsConnection(string method) {
1830
SqlInternalConnectionTds
innerConnection = (InnerConnection as
SqlInternalConnectionTds
);
2130
using (
SqlInternalConnectionTds
con = new SqlInternalConnectionTds(null, connectionOptions, credential, null, newPassword, newSecurePassword, false)) {
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (1)
87
SqlInternalConnectionTds
sseConnection = null;
fx\src\data\System\Data\SqlClient\SqlException.cs (1)
138
static internal SqlException CreateException(SqlErrorCollection errorCollection, string serverVersion,
SqlInternalConnectionTds
internalConnection, Exception innerException = null) {
fx\src\data\System\Data\SqlClient\SqlInternalConnection.cs (4)
478
SqlInternalConnectionTds
tdsConnection = this as
SqlInternalConnectionTds
;
680
SqlInternalConnectionTds
innerConnection = (connection.InnerConnection as
SqlInternalConnectionTds
);
fx\src\data\System\Data\SqlClient\SqlUtil.cs (13)
32
internal static Task CreateContinuationTask(Task task, Action onSuccess,
SqlInternalConnectionTds
connectionToDoom = null, Action<Exception> onFailure = null) {
46
internal static Task CreateContinuationTask<T1, T2>(Task task, Action<T1, T2> onSuccess, T1 arg1, T2 arg2,
SqlInternalConnectionTds
connectionToDoom = null, Action<Exception> onFailure = null) {
53
SqlInternalConnectionTds
connectionToDoom = null,
592
static internal Exception CannotCompleteDelegatedTransactionWithOpenResults(
SqlInternalConnectionTds
internalConnection) {
1455
static internal Exception MultiSubnetFailoverWithFailoverPartner(bool serverProvidedFailoverPartner,
SqlInternalConnectionTds
internalConnection) {
1493
static internal Exception ROR_FailoverNotSupportedServer(
SqlInternalConnectionTds
internalConnection) {
1501
static internal Exception ROR_RecursiveRoutingNotSupported(
SqlInternalConnectionTds
internalConnection) {
1509
static internal Exception ROR_UnexpectedRoutingInfo(
SqlInternalConnectionTds
internalConnection) {
1517
static internal Exception ROR_InvalidRoutingInfo(
SqlInternalConnectionTds
internalConnection) {
1525
static internal Exception ROR_TimeoutAfterRoutingInfo(
SqlInternalConnectionTds
internalConnection) {
1557
static internal Exception CR_EncryptionChanged(
SqlInternalConnectionTds
internalConnection) {
1571
static internal SqlException CR_NoCRAckAtReconnection(
SqlInternalConnectionTds
internalConnection) {
1578
static internal SqlException CR_TDSVersionNotPreserved(
SqlInternalConnectionTds
internalConnection) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (6)
171
private
SqlInternalConnectionTds
_connHandler;
269
internal
SqlInternalConnectionTds
Connection {
395
SqlInternalConnectionTds
connHandler,
1294
var
connHandler = _connHandler;
4759
SqlInternalConnectionTds
connection) {
4782
SqlInternalConnectionTds
connection) {