2 instantiations of DbConnectionPoolIdentity
System.Data (2)
fx\src\data\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (2)
32
static public readonly DbConnectionPoolIdentity NoIdentity = new
DbConnectionPoolIdentity
(String.Empty, false, true);
178
current = new
DbConnectionPoolIdentity
(sidString, isRestricted, isNetwork);
42 references to DbConnectionPoolIdentity
System.Data (42)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (5)
422
private readonly
DbConnectionPoolIdentity
_identity;
467
DbConnectionPoolIdentity
identity,
556
internal
DbConnectionPoolIdentity
Identity {
610
get { return (null != _identity &&
DbConnectionPoolIdentity
.NoIdentity != _identity); }
1539
if (UsingIntegrateSecurity && !_identity.Equals(
DbConnectionPoolIdentity
.GetCurrent())) {
fx\src\data\System\Data\ProviderBase\DbConnectionPoolGroup.cs (8)
37
private ConcurrentDictionary<
DbConnectionPoolIdentity
, DbConnectionPool> _poolCollection;
65
_poolCollection = new ConcurrentDictionary<
DbConnectionPoolIdentity
, DbConnectionPool>();
126
ConcurrentDictionary<
DbConnectionPoolIdentity
, DbConnectionPool> oldPoolCollection = null;
130
_poolCollection = new ConcurrentDictionary<
DbConnectionPoolIdentity
, DbConnectionPool>();
170
DbConnectionPoolIdentity
currentIdentity =
DbConnectionPoolIdentity
.NoIdentity;
176
currentIdentity =
DbConnectionPoolIdentity
.GetCurrent();
250
var newPoolCollection = new ConcurrentDictionary<
DbConnectionPoolIdentity
, DbConnectionPool>();
fx\src\data\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (7)
32
static public readonly
DbConnectionPoolIdentity
NoIdentity = new DbConnectionPoolIdentity(String.Empty, false, true);
34
static private
DbConnectionPoolIdentity
_lastIdentity = null;
74
DbConnectionPoolIdentity
that = ((
DbConnectionPoolIdentity
) value);
92
static internal
DbConnectionPoolIdentity
GetCurrent() {
116
DbConnectionPoolIdentity
current = null;
173
var
lastIdentity = _lastIdentity;
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
1529
using (WindowsIdentity identity =
DbConnectionPoolIdentity
.GetCurrentWindowsIdentity()) {
1542
_lastIdentity =
DbConnectionPoolIdentity
.GetCurrentWindowsIdentity();
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (2)
64
DbConnectionPoolIdentity
identity = null;
73
identity =
DbConnectionPoolIdentity
.GetCurrent();
fx\src\data\System\Data\SqlClient\SqlDependency.cs (5)
44
private
DbConnectionPoolIdentity
_identity;
47
internal IdentityUserNamePair(
DbConnectionPoolIdentity
identity, string userName) {
54
internal
DbConnectionPoolIdentity
Identity {
609
DbConnectionPoolIdentity
identity = null;
729
DbConnectionPoolIdentity
identity = null;
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (10)
137
_windowsIdentity =
DbConnectionPoolIdentity
.GetCurrentWindowsIdentity();
1125
private
DbConnectionPoolIdentity
_identity;
1130
internal SqlConnectionContainerHashHelper(
DbConnectionPoolIdentity
identity, string connectionString,
1150
internal
DbConnectionPoolIdentity
Identity {
1304
out
DbConnectionPoolIdentity
identity,
1324
identity =
DbConnectionPoolIdentity
.GetCurrent();
1423
out
DbConnectionPoolIdentity
identity,
1452
DbConnectionPoolIdentity
dummyValue3 = null;
1468
out
DbConnectionPoolIdentity
identity,
1551
out
DbConnectionPoolIdentity
identity,
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (3)
207
private
DbConnectionPoolIdentity
_identity; // Used to lookup info for notification matching Start().
321
DbConnectionPoolIdentity
identity,
564
internal
DbConnectionPoolIdentity
Identity {