DbCommandCache class

A cache of IDbCommand by command text.

public abstract class DbCommandCache

Public Members

name description
static Create() Creates a new command cache.
static FromConnector(…) Provides access via connector. Used when creating wrapping connectors.

Protected Members

name description
DbCommandCache() The default constructor.
abstract AddCommand(…) Adds the specified command to the cache.
abstract GetCommands() Gets all of the cached commands.
abstract TryGetCommand(…) Gets the specified cached command, if any.

See Also