C# Класс DotNetWorkQueue.Transport.PostgreSQL.Basic.PostgreSqlCommandStringCache

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

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

Метод Описание
Add ( string key, string value ) : string

Adds a new cached command string

Contains ( string key ) : bool

Determines whether [contains] [the specified key].

Get ( string key ) : string

Gets the specified command string.

GetCommand ( PostgreSqlCommandStringTypes type ) : string

Gets the command for the indicated command type

PostgreSqlCommandStringCache ( TableNameHelper tableNameHelper ) : System

Initializes a new instance of the PostgreSqlCommandStringCache class.

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

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

Builds the commands.

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

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

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

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 ) : string
key string The key.
Результат string

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

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

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

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