C# Class DotNetWorkQueue.Transport.SqlServer.Basic.SqlServerMessageQueueSchema

Defines the schema for a queue
Mostrar archivo Open project: blehnen/DotNetWorkQueue Class Usage Examples

Public Methods

Method Description
GetSchema ( ) : List

Returns our schema as a list of tables.

SqlServerMessageQueueSchema ( TableNameHelper tableNameHelper, ISqlServerMessageQueueTransportOptionsFactory options ) : System

Initializes a new instance of the SqlServerMessageQueueSchema class.

Private Methods

Method Description
CreateConfigurationTable ( ) : Table

Creates the configuration table schema.

CreateErrorTable ( Table meta ) : Table

Creates the error table schema. This is a copy of the meta table, but with an exception column added.

CreateErrorTrackingTable ( ) : Table

Creates the error tracking table schema.

CreateMainTable ( ) : Table

Creates the main table schema

CreateMetaDataTable ( ) : Table

Creates the meta data table schema.

CreateStatusTable ( ) : Table
GetOwner ( ) : string

Gets the schema owner

This is always 'dbo'

Method Details

GetSchema() public method

Returns our schema as a list of tables.
public GetSchema ( ) : List
return List

SqlServerMessageQueueSchema() public method

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