C# Class DotNetWorkQueue.Transport.PostgreSQL.Basic.CommandHandler.SendMessage

ファイルを表示 Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
AddHeaderColumnParams ( NpgsqlCommand command, IMessage data, IHeaders headers ) : void

Adds the header column parameters.

AddHeaderColumns ( StringBuilder command, IMessage data, IHeaders headers ) : void

Adds the header columns.

AddHeaderValues ( StringBuilder command, IMessage data, IHeaders headers ) : void

Adds the header values.

AddUserColumns ( StringBuilder command, IAdditionalMessageData data ) : void

Adds the user specific columns to the meta data SQL command string

AddUserColumnsParams ( NpgsqlCommand command, IAdditionalMessageData data ) : void

Adds the SQL command params for the user specific meta data

AddUserColumnsValues ( StringBuilder command, IAdditionalMessageData data ) : void

Adds the values for the user specific meta data to the SQL command.

Private Methods

Method Description
BuildMetaCommand ( NpgsqlCommand command, TableNameHelper tableNameHelper, IHeaders headers, IAdditionalMessageData data, IMessage message, long id, PostgreSqlMessageQueueTransportOptions options, System.TimeSpan delay, System.TimeSpan expiration, System.DateTime currentDateTime ) : void
BuildStatusCommand ( NpgsqlCommand command, TableNameHelper tableNameHelper, IHeaders headers, IAdditionalMessageData data, IMessage message, long id, PostgreSqlMessageQueueTransportOptions options ) : void

Method Details

AddHeaderColumnParams() public static method

Adds the header column parameters.
public static AddHeaderColumnParams ( NpgsqlCommand command, IMessage data, IHeaders headers ) : void
command Npgsql.NpgsqlCommand The command.
data IMessage The data.
headers IHeaders The headers.
return void

AddHeaderColumns() public static method

Adds the header columns.
public static AddHeaderColumns ( StringBuilder command, IMessage data, IHeaders headers ) : void
command StringBuilder The command.
data IMessage The data.
headers IHeaders The headers.
return void

AddHeaderValues() public static method

Adds the header values.
public static AddHeaderValues ( StringBuilder command, IMessage data, IHeaders headers ) : void
command StringBuilder The command.
data IMessage The data.
headers IHeaders The headers.
return void

AddUserColumns() public static method

Adds the user specific columns to the meta data SQL command string
public static AddUserColumns ( StringBuilder command, IAdditionalMessageData data ) : void
command StringBuilder The command.
data IAdditionalMessageData The data.
return void

AddUserColumnsParams() public static method

Adds the SQL command params for the user specific meta data
public static AddUserColumnsParams ( NpgsqlCommand command, IAdditionalMessageData data ) : void
command Npgsql.NpgsqlCommand The command.
data IAdditionalMessageData The data.
return void

AddUserColumnsValues() public static method

Adds the values for the user specific meta data to the SQL command.
public static AddUserColumnsValues ( StringBuilder command, IAdditionalMessageData data ) : void
command StringBuilder The command.
data IAdditionalMessageData The data.
return void