Skip to content

Commit d0ca337

Browse files
committed
Rename ObjectId property to Id.
1 parent a424037 commit d0ca337

File tree

4 files changed

+45
-45
lines changed

4 files changed

+45
-45
lines changed

src/Microsoft.Data.SqlClient/src/Microsoft/Data/ProviderBase/DbConnectionFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ private void PruneConnectionPoolGroups(object state)
540540
if (0 == pool.Count)
541541
{
542542
_poolsToRelease.Remove(pool);
543-
SqlClientEventSource.Log.TryAdvancedTraceEvent("<prov.DbConnectionFactory.PruneConnectionPoolGroups|RES|INFO|CPOOL> {0}, ReleasePool={1}", ObjectID, pool.ObjectId);
543+
SqlClientEventSource.Log.TryAdvancedTraceEvent("<prov.DbConnectionFactory.PruneConnectionPoolGroups|RES|INFO|CPOOL> {0}, ReleasePool={1}", ObjectID, pool.Id);
544544

545545
SqlClientEventSource.Metrics.ExitInactiveConnectionPool();
546546
}

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ConnectionPool/ChannelDbConnectionPool.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.Data.SqlClient.ConnectionPool
1919
/// </summary>
2020
internal sealed class ChannelDbConnectionPool : IDbConnectionPool
2121
{
22-
public int ObjectId => throw new NotImplementedException();
22+
public int Id => throw new NotImplementedException();
2323

2424
public DbConnectionPoolState State { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
2525

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ConnectionPool/IDbConnectionPool.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Microsoft.Data.SqlClient.ConnectionPool
1414
{
1515
/// <summary>
1616
/// A base interface for implementing database connection pools.
17-
/// Derived classes are responsible for managing the lifecycle
17+
/// Implementations are responsible for managing the lifecycle
1818
/// of connections and providing access to database connections.
1919
/// </summary>
2020
internal interface IDbConnectionPool
@@ -23,7 +23,7 @@ internal interface IDbConnectionPool
2323
/// <summary>
2424
/// An id that uniqely identifies this connection pool.
2525
/// </summary>
26-
int ObjectId { get; }
26+
int Id { get; }
2727

2828
/// <summary>
2929
/// The current state of the connection pool.

0 commit comments

Comments
 (0)