2 types derived from SqlInternalConnection
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionSmi.cs (1)
17
sealed internal class SqlInternalConnectionSmi :
SqlInternalConnection
{
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
102
sealed internal class SqlInternalConnectionTds :
SqlInternalConnection
, IDisposable {
92 references to SqlInternalConnection
System.Data (92)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (2)
1790
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_connection);
1833
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
fx\src\data\System\Data\SqlClient\SqlCommand.cs (26)
868
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_activeConnection);
911
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
1053
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_activeConnection);
1091
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
1326
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_activeConnection);
1347
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
1515
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_activeConnection);
1595
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
1619
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_activeConnection);
1687
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
1819
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_activeConnection);
1842
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
2028
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_activeConnection);
2054
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
2316
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_activeConnection);
2339
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
2379
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_activeConnection);
2400
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
3329
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_activeConnection);
3543
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
4140
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_activeConnection);
4244
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
4849
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_activeConnection);
4874
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
4972
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_activeConnection);
4995
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
fx\src\data\System\Data\SqlClient\SqlCommandBuilder.cs (2)
224
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(command.Connection);
249
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (17)
628
SqlInternalConnection
innerConnection = (InnerConnection as
SqlInternalConnection
);
649
SqlInternalConnection
innerConnection = (InnerConnection as
SqlInternalConnection
);
1006
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(this);
1026
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
1086
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(this);
1124
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
1577
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(this);
1619
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
1711
SqlInternalConnection
innerConnection = GetOpenConnection(method);
1804
internal
SqlInternalConnection
GetOpenConnection() {
1805
SqlInternalConnection
innerConnection = (InnerConnection as
SqlInternalConnection
);
1812
internal
SqlInternalConnection
GetOpenConnection(string method) {
1814
SqlInternalConnection
innerSqlConnection = (innerConnection as
SqlInternalConnection
);
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (1)
42
SqlInternalConnection
result = null;
fx\src\data\System\Data\SqlClient\SqlConnectionPoolGroupProviderInfo.cs (1)
88
internal void FailoverCheck(
SqlInternalConnection
connection, bool actualUseFailoverPartner, SqlConnectionString userConnectionOptions, string actualFailoverPartner) {
fx\src\data\System\Data\SqlClient\SqlDelegatedTransaction.cs (14)
36
private
SqlInternalConnection
_connection; // the internal connection that is the root of the transaction
44
internal SqlDelegatedTransaction(
SqlInternalConnection
connection, SysTx.Transaction tx) {
77
SqlInternalConnection
connection = _connection;
100
connection.ExecuteTransaction(
SqlInternalConnection
.TransactionRequest.Begin, null, _isolationLevel, _internalTransaction, true);
142
SqlInternalConnection
connection = GetValidConnection();
166
connection.ExecuteTransaction(
SqlInternalConnection
.TransactionRequest.Promote, null, IsolationLevel.Unspecified, _internalTransaction, true);
232
SqlInternalConnection
connection = GetValidConnection();
257
connection.ExecuteTransaction(
SqlInternalConnection
.TransactionRequest.Rollback, null, IsolationLevel.Unspecified, _internalTransaction, true);
315
SqlInternalConnection
connection = GetValidConnection();
352
connection.ExecuteTransaction(
SqlInternalConnection
.TransactionRequest.Commit, null, IsolationLevel.Unspecified, _internalTransaction, true);
427
SqlInternalConnection
connection = _connection;
443
private
SqlInternalConnection
GetValidConnection() {
444
SqlInternalConnection
connection = _connection;
455
private void ValidateActiveOnConnection(
SqlInternalConnection
connection) {
fx\src\data\System\Data\SqlClient\SqlInternalConnection.cs (6)
205
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(Connection);
241
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
293
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(Connection);
318
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
634
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(Connection);
653
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (10)
43
private
SqlInternalConnection
_innerConnection;
53
internal SqlInternalTransaction(
SqlInternalConnection
innerConnection, TransactionType type, SqlTransaction outerTransaction) : this(innerConnection, type, outerTransaction, NullTransactionId) {
56
internal SqlInternalTransaction(
SqlInternalConnection
innerConnection, TransactionType type, SqlTransaction outerTransaction, long transactionId) {
230
SqlInternalConnection
innerConnection = _innerConnection;
237
innerConnection.ExecuteTransaction(
SqlInternalConnection
.TransactionRequest.IfRollback, null, IsolationLevel.Unspecified, null, false);
270
_innerConnection.ExecuteTransaction(
SqlInternalConnection
.TransactionRequest.Commit, null, IsolationLevel.Unspecified, null, false);
378
_innerConnection.ExecuteTransaction(
SqlInternalConnection
.TransactionRequest.IfRollback, null, IsolationLevel.Unspecified, null, false);
423
_innerConnection.ExecuteTransaction(
SqlInternalConnection
.TransactionRequest.Rollback, transactionName, IsolationLevel.Unspecified, null, false);
462
_innerConnection.ExecuteTransaction(
SqlInternalConnection
.TransactionRequest.Save, savePointName, IsolationLevel.Unspecified, null, false);
501
SqlInternalConnection
innerConnection = _innerConnection;
fx\src\data\System\Data\SqlClient\SqlTransaction.cs (13)
30
internal SqlTransaction(
SqlInternalConnection
internalConnection, SqlConnection con,
137
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_connection);
160
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
185
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_connection);
206
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
241
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_connection);
264
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
297
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_connection);
320
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
352
bestEffortCleanupTarget =
SqlInternalConnection
.GetBestEffortCleanupTarget(_connection);
373
SqlInternalConnection
.BestEffortCleanup(bestEffortCleanupTarget);
392
SqlInternalConnection
internalConnection = (_connection.InnerConnection as
SqlInternalConnection
);