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

Caches SQL command strings
Mostra file Open project: blehnen/DotNetWorkQueue

Public Methods

Method 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

Method Description
BuildCommands ( ) : void

Builds the commands.

Method Details

Add() public method

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

Contains() public method

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

Get() public method

Gets the specified command string.
public Get ( string key ) : CommandString
key string The key.
return CommandString

GetCommand() public method

Gets the command for the indicated command type
public GetCommand ( SqLiteCommandStringTypes type ) : string
type SqLiteCommandStringTypes The command type.
return string

SqLiteCommandStringCache() public method

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