ODP.NET connection pooling: How to tell if a connection has been used
I'm modifying a Winforms app to use connection pooling so data access can occur in background threads. The business logic is implemented in PL/SQL and there are a couple of security related stored procedures that have to be called in order to make use of the business logic. What I need is a way to tell if the connection has been used without a round-trip to the database. I don't think I can keep track of them in a HashSet because I doubt Equals or even ReferenceEquals could be relied upon. Any ideas? EDIT: Just to be clear, I plan to use ODP.NET's built-in connection pooling mechanism. If I