[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 (Inherited from Object.)
GetConnection
Returns a cached or new connection and statement pair.
(Overrides .GetConnection().)
GetHashCode (Inherited from Object.)
GetType (Inherited from Object.)
ToString (Inherited from Object.)

Protected Methods

  NameDescription
Close
Close resources.

Finalize (Inherited from Object.)
MakeNew
Make a new pair of resources.

MemberwiseClone (Inherited from Object.)

Public Constructors

  NameDescription
ConnectionCacheImplNew
Ctor.