1 type derived from DbConnectionPoolKey
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlConnectionPoolKey.cs (1)
19
internal class SqlConnectionPoolKey :
DbConnectionPoolKey
, ICloneable
2 instantiations of DbConnectionPoolKey
System.Data (2)
fx\src\data\System\Data\Common\DbConnectionPoolKey.cs (1)
34
return new
DbConnectionPoolKey
(this);
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (1)
91
DbConnectionPoolKey key = new
DbConnectionPoolKey
(value);
36 references to DbConnectionPoolKey
System.Data (36)
fx\src\data\System\Data\Common\DbConnectionPoolKey.cs (4)
27
protected DbConnectionPoolKey(
DbConnectionPoolKey
key)
52
if (obj == null || obj.GetType() != typeof(
DbConnectionPoolKey
))
57
DbConnectionPoolKey
key = obj as
DbConnectionPoolKey
;
fx\src\data\System\Data\Odbc\OdbcConnectionFactory.cs (1)
37
override protected DbConnectionInternal CreateConnection(DbConnectionOptions options,
DbConnectionPoolKey
poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) {
fx\src\data\System\Data\OleDb\OleDbConnectionFactory.cs (1)
37
override protected DbConnectionInternal CreateConnection(DbConnectionOptions options,
DbConnectionPoolKey
poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) {
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (23)
20
private Dictionary<
DbConnectionPoolKey
, DbConnectionPoolGroup> _connectionPoolGroups;
42
_connectionPoolGroups = new Dictionary<
DbConnectionPoolKey
, DbConnectionPoolGroup>();
66
Dictionary<
DbConnectionPoolKey
, DbConnectionPoolGroup> connectionPoolGroups = _connectionPoolGroups;
67
foreach (KeyValuePair<
DbConnectionPoolKey
, DbConnectionPoolGroup> entry in connectionPoolGroups) {
95
public void ClearPool(
DbConnectionPoolKey
key) {
103
Dictionary<
DbConnectionPoolKey
, DbConnectionPoolGroup> connectionPoolGroups = _connectionPoolGroups;
130
DbConnectionPoolKey
poolKey = poolGroup.PoolKey;
141
internal DbConnectionInternal CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options,
DbConnectionPoolKey
poolKey, DbConnectionOptions userOptions) {
163
protected DbConnectionOptions FindConnectionOptions(
DbConnectionPoolKey
key) {
167
Dictionary<
DbConnectionPoolKey
, DbConnectionPoolGroup> connectionPoolGroups = _connectionPoolGroups;
369
internal DbConnectionPoolGroup GetConnectionPoolGroup(
DbConnectionPoolKey
key, DbConnectionPoolGroupOptions poolOptions, ref DbConnectionOptions userConnectionOptions) {
375
Dictionary<
DbConnectionPoolKey
, DbConnectionPoolGroup> connectionPoolGroups = _connectionPoolGroups;
395
DbConnectionPoolKey
newKey = (
DbConnectionPoolKey
) ((ICloneable) key).Clone();
420
Dictionary<
DbConnectionPoolKey
, DbConnectionPoolGroup> newConnectionPoolGroups = new Dictionary<
DbConnectionPoolKey
, DbConnectionPoolGroup>(1+connectionPoolGroups.Count);
421
foreach (KeyValuePair<
DbConnectionPoolKey
, DbConnectionPoolGroup> entry in connectionPoolGroups) {
518
Dictionary<
DbConnectionPoolKey
, DbConnectionPoolGroup> connectionPoolGroups = _connectionPoolGroups;
519
Dictionary<
DbConnectionPoolKey
, DbConnectionPoolGroup> newConnectionPoolGroups = new Dictionary<
DbConnectionPoolKey
, DbConnectionPoolGroup>(connectionPoolGroups.Count);
521
foreach (KeyValuePair<
DbConnectionPoolKey
, DbConnectionPoolGroup> entry in connectionPoolGroups) {
571
virtual protected DbConnectionInternal CreateConnection(DbConnectionOptions options,
DbConnectionPoolKey
poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) {
575
abstract protected DbConnectionInternal CreateConnection(DbConnectionOptions options,
DbConnectionPoolKey
poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection);
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (2)
91
DbConnectionPoolKey
key = new DbConnectionPoolKey(value);
96
private void ConnectionString_Set(
DbConnectionPoolKey
key) {
fx\src\data\System\Data\ProviderBase\DbConnectionPoolGroup.cs (3)
35
private readonly
DbConnectionPoolKey
_poolKey;
53
internal DbConnectionPoolGroup (DbConnectionOptions connectionOptions,
DbConnectionPoolKey
key, DbConnectionPoolGroupOptions poolGroupOptions) {
75
internal
DbConnectionPoolKey
PoolKey {
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (2)
35
override protected DbConnectionInternal CreateConnection(DbConnectionOptions options,
DbConnectionPoolKey
poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) {
39
override protected DbConnectionInternal CreateConnection(DbConnectionOptions options,
DbConnectionPoolKey
poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) {