C# 클래스 DotNetWorkQueue.Transport.PostgreSQL.Basic.PostgreSqlCommandStringCache

Caches SQL command strings
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue

공개 메소드들

메소드 설명
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