[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Caches the Connection and DbCommand instance for reuse.

The following tables list the members exposed by the ConnectionCacheImpl type.

Public Methods

  NameDescription
Destroy
Destroys cache closing all resources cached, if any.
(Overrides .Destroy().)
Dispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

DoneWith
Indicate to return the connection and statement pair after use.
(Overrides .DoneWith(Pair<(Of DbConnection, DbCommand>)).)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetConnection
Returns a cached or new connection and statement pair.
(Overrides .GetConnection().)
GetHashCode
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Close
Close resources.

Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
MakeNew
Make a new pair of resources.

MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)