C# Класс DotNetWorkQueue.Transport.SQLite.Basic.SqLiteCommandStringCache

Caches SQL command strings
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
BuildCommands ( ) : void

Builds the commands.

Описание методов

Add() публичный Метод

Adds a new cached command string
public Add ( string key, CommandString value ) : CommandString
key string The key.
value CommandString The value.
Результат CommandString

Contains() публичный Метод

Determines whether [contains] [the specified key].
public Contains ( string key ) : bool
key string The key.
Результат bool

Get() публичный Метод

Gets the specified command string.
public Get ( string key ) : CommandString
key string The key.
Результат CommandString

GetCommand() публичный Метод

Gets the command for the indicated command type
public GetCommand ( SqLiteCommandStringTypes type ) : string
type SqLiteCommandStringTypes The command type.
Результат string

SqLiteCommandStringCache() публичный Метод

Initializes a new instance of the SqLiteCommandStringCache class.
public SqLiteCommandStringCache ( TableNameHelper tableNameHelper ) : System
tableNameHelper TableNameHelper The table name helper.
Результат System