[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Implementation of a connection cache that simply doesn't cache but gets
a new connection and statement every request, and closes these every time
a client indicates done.
The following tables list the members exposed by the ConnectionNoCacheImpl type.
Public Methods
| Name | Description | |
|---|---|---|
| Destroy |
Destroys cache closing all resources cached, if any.
(Overrides .Destroy().) | |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ConnectionCache.) | |
| 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
| Name | Description | |
|---|---|---|
| Close | Close resources. (Inherited from ConnectionCache.) | |
| Finalize | (Inherited from Object.) | |
| MakeNew | Make a new pair of resources. (Inherited from ConnectionCache.) | |
| MemberwiseClone | (Inherited from Object.) |