C# Class DotNetWorkQueue.Transport.SQLite.Basic.SqLiteCommandStringCache

Caches SQL command strings
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode Description
Add ( string key, CommandString value ) : CommandString

Adds a new cached command string

Contains ( string key ) : bool

Determines whether [contains] [the specified key].

Get ( string key ) : CommandString

Gets the specified command string.

GetCommand ( SqLiteCommandStringTypes type ) : string

Gets the command for the indicated command type

SqLiteCommandStringCache ( TableNameHelper tableNameHelper ) : System

Initializes a new instance of the SqLiteCommandStringCache class.

Private Methods

Méthode Description
BuildCommands ( ) : void

Builds the commands.

Method Details

Add() public méthode

Adds a new cached command string
public Add ( string key, CommandString value ) : CommandString
key string The key.
value CommandString The value.
Résultat CommandString

Contains() public méthode

Determines whether [contains] [the specified key].
public Contains ( string key ) : bool
key string The key.
Résultat bool

Get() public méthode

Gets the specified command string.
public Get ( string key ) : CommandString
key string The key.
Résultat CommandString

GetCommand() public méthode

Gets the command for the indicated command type
public GetCommand ( SqLiteCommandStringTypes type ) : string
type SqLiteCommandStringTypes The command type.
Résultat string

SqLiteCommandStringCache() public méthode

Initializes a new instance of the SqLiteCommandStringCache class.
public SqLiteCommandStringCache ( TableNameHelper tableNameHelper ) : System
tableNameHelper TableNameHelper The table name helper.
Résultat System