C# Class SqlServerProducer.Commands.QueueCreation

Inheritance: IConsoleCommand, IDisposable
Show file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
AddColumn ( string queueName, string name, string type, bool @null = true ) : ConsoleExecuteResult
AddColumnWithLength ( string queueName, string name, string type, int length, bool @null = true ) : ConsoleExecuteResult
AddColumnWithPrecision ( string queueName, string name, string type, byte precision, int scale, bool @null = true ) : ConsoleExecuteResult
AddConstraint ( string queueName, string name, string type, string column ) : ConsoleExecuteResult
AddConstraintManyColumns ( string queueName, string name, string type ) : ConsoleExecuteResult
CreateQueue ( string queueName ) : ConsoleExecuteResult
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Example ( string command ) : ConsoleExecuteResult
Help ( ) : ConsoleExecuteResult
QueueCreation ( ) : System
RemoveQueue ( string queueName ) : ConsoleExecuteResult
SetDelayedProcessing ( string queueName, bool value ) : ConsoleExecuteResult
SetHeartBeat ( string queueName, bool value ) : ConsoleExecuteResult
SetHoldTransaction ( string queueName, bool value ) : ConsoleExecuteResult
SetMessageExpiration ( string queueName, bool value ) : ConsoleExecuteResult
SetPriority ( string queueName, bool value ) : ConsoleExecuteResult
SetQueueType ( string queueName, int queueType ) : ConsoleExecuteResult
SetStatus ( string queueName, bool value ) : ConsoleExecuteResult
SetStatusTable ( string queueName, bool value ) : ConsoleExecuteResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CreateModuleIfNeeded ( string queueName ) : void

Method Details

AddColumn() public method

public AddColumn ( string queueName, string name, string type, bool @null = true ) : ConsoleExecuteResult
queueName string
name string
type string
@null bool
return ConsoleShared.ConsoleExecuteResult

AddColumnWithLength() public method

public AddColumnWithLength ( string queueName, string name, string type, int length, bool @null = true ) : ConsoleExecuteResult
queueName string
name string
type string
length int
@null bool
return ConsoleShared.ConsoleExecuteResult

AddColumnWithPrecision() public method

public AddColumnWithPrecision ( string queueName, string name, string type, byte precision, int scale, bool @null = true ) : ConsoleExecuteResult
queueName string
name string
type string
precision byte
scale int
@null bool
return ConsoleShared.ConsoleExecuteResult

AddConstraint() public method

public AddConstraint ( string queueName, string name, string type, string column ) : ConsoleExecuteResult
queueName string
name string
type string
column string
return ConsoleShared.ConsoleExecuteResult

AddConstraintManyColumns() public method

public AddConstraintManyColumns ( string queueName, string name, string type ) : ConsoleExecuteResult
queueName string
name string
type string
return ConsoleShared.ConsoleExecuteResult

CreateQueue() public method

public CreateQueue ( string queueName ) : ConsoleExecuteResult
queueName string
return ConsoleShared.ConsoleExecuteResult

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Example() public method

public Example ( string command ) : ConsoleExecuteResult
command string
return ConsoleShared.ConsoleExecuteResult

Help() public method

public Help ( ) : ConsoleExecuteResult
return ConsoleShared.ConsoleExecuteResult

QueueCreation() public method

public QueueCreation ( ) : System
return System

RemoveQueue() public method

public RemoveQueue ( string queueName ) : ConsoleExecuteResult
queueName string
return ConsoleShared.ConsoleExecuteResult

SetDelayedProcessing() public method

public SetDelayedProcessing ( string queueName, bool value ) : ConsoleExecuteResult
queueName string
value bool
return ConsoleShared.ConsoleExecuteResult

SetHeartBeat() public method

public SetHeartBeat ( string queueName, bool value ) : ConsoleExecuteResult
queueName string
value bool
return ConsoleShared.ConsoleExecuteResult

SetHoldTransaction() public method

public SetHoldTransaction ( string queueName, bool value ) : ConsoleExecuteResult
queueName string
value bool
return ConsoleShared.ConsoleExecuteResult

SetMessageExpiration() public method

public SetMessageExpiration ( string queueName, bool value ) : ConsoleExecuteResult
queueName string
value bool
return ConsoleShared.ConsoleExecuteResult

SetPriority() public method

public SetPriority ( string queueName, bool value ) : ConsoleExecuteResult
queueName string
value bool
return ConsoleShared.ConsoleExecuteResult

SetQueueType() public method

public SetQueueType ( string queueName, int queueType ) : ConsoleExecuteResult
queueName string
queueType int
return ConsoleShared.ConsoleExecuteResult

SetStatus() public method

public SetStatus ( string queueName, bool value ) : ConsoleExecuteResult
queueName string
value bool
return ConsoleShared.ConsoleExecuteResult

SetStatusTable() public method

public SetStatusTable ( string queueName, bool value ) : ConsoleExecuteResult
queueName string
value bool
return ConsoleShared.ConsoleExecuteResult