BaseCommand

Overview

The BaseCommand class is the ancestor class for the LocalCommand and RemoteCommand child classes. This class represents the various versions of the Execute method, which is used to execute specified commands.

Location


 

constructor  protected

Creates a new instance

 

constructor

 

BaseCommand()

 

Sub New()

constructor (IContainer)  protected

Creates a new instance

 

constructor(container: IContainer)

 

BaseCommand(IContainer container)

 

Sub New(container As IContainer)

Parameters:

  • container:

CATEGORY_COMMUNICATION  protected

 

const CATEGORY_COMMUNICATION: String = 'Communication'

 

const String CATEGORY_COMMUNICATION = "Communication"

 

Const CATEGORY_COMMUNICATION As String = "Communication"

CATEGORY_DYNAMIC_METHOD_BINDING  protected

 

const CATEGORY_DYNAMIC_METHOD_BINDING: String = 'Dynamic Method Binding'

 

const String CATEGORY_DYNAMIC_METHOD_BINDING = "Dynamic Method Binding"

 

Const CATEGORY_DYNAMIC_METHOD_BINDING As String = "Dynamic Method Binding"

CATEGORY_OPTIONS  protected

 

const CATEGORY_OPTIONS: String = 'Options'

 

const String CATEGORY_OPTIONS = "Options"

 

Const CATEGORY_OPTIONS As String = "Options"

CATEGORY_STREAMING  protected

 

const CATEGORY_STREAMING: String = 'Streaming'

 

const String CATEGORY_STREAMING = "Streaming"

 

Const CATEGORY_STREAMING As String = "Streaming"

Execute (String): Int32

Executes the command with the given name and returns the number of affected rows.

 

method Execute(commandName: String): Int32

 

Int32 Execute(String commandName)

 

Function Execute(commandName As String) As Int32

Parameters:

  • commandName: Name of the command that is declared in the schema.

Execute (String, array of String, array of Object): Int32

Executes the command with the given name and input parameters and returns the number of affected rows.

 

method Execute(commandName: String; parameterNames: array of String; parameterValues: array of Object): Int32

 

Int32 Execute(String commandName, String[] parameterNames, Object[] parameterValues)

 

Function Execute(commandName As String, parameterNames As String(), parameterValues As Object()) As Int32

Parameters:

  • commandName: Name of the command that is declared in the schema.
  • parameterNames: Specified array with input parameter names
  • parameterValues: specified array with input parameter values.

Execute (String, array of String, array of Object, String, Object): Int32

Executes the command with the given name and input parameters and returns the number of affected rows and output parameters.

 

method Execute(commandName: String; parameterNames: array of String; parameterValues: array of Object; out outputNames: String; out outputValues: Object): Int32

 

Int32 Execute(String commandName, String[] parameterNames, Object[] parameterValues, out String outputNames, out Object outputValues)

 

Function Execute(commandName As String, parameterNames As String(), parameterValues As Object(), <OutAttribute> ByRef outputNames As String, <OutAttribute> ByRef outputValues As Object) As Int32

Parameters:

  • commandName: Name of the command that is declared in the schema.
  • parameterNames: Specified array with input parameter names
  • parameterValues: specified array with input parameter values.
  • outputNames: Specified array with output parameter names
  • outputValues: specified array with output parameter values.

Execute (String, array of DataParameter): Int32

Executes the command with the given name and input parameters and returns the number of affected rows.

 

method Execute(commandName: String; parameters: array of DataParameter): Int32

 

Int32 Execute(String commandName, DataParameter[] parameters)

 

Function Execute(commandName As String, parameters As DataParameter()) As Int32

Parameters:

  • commandName: Name of the command that is declared in the schema.
  • parameters: Specified array with input parameters.

Execute (String, array of DataParameter, DataParameter): Int32

Executes the command with the given name and input parameters and returns the number of affected rows and output parameters.

 

method Execute(commandName: String; parameters: array of DataParameter; out output: DataParameter): Int32

 

Int32 Execute(String commandName, DataParameter[] parameters, out DataParameter output)

 

Function Execute(commandName As String, parameters As DataParameter(), <OutAttribute> ByRef output As DataParameter) As Int32

Parameters:

  • commandName: Name of the command that is declared in the schema.
  • parameters: Specified array with input parameters.
  • output: Specified array with output parameters.

Execute (String, array of Object): Int32

Executes the command with the given input parameters and returns the number of affected rows.

 

method Execute(commandName: String; parameterValues: array of Object): Int32

 

Int32 Execute(String commandName, Object[] parameterValues)

 

Function Execute(commandName As String, parameterValues As Object()) As Int32

Parameters:

  • commandName: Name of the command that is declared in the schema.
  • parameterValues: specified array with input parameter values.

 

CATEGORY_COMMUNICATION  protected

 

const CATEGORY_COMMUNICATION: String = 'Communication'

 

const String CATEGORY_COMMUNICATION = "Communication"

 

Const CATEGORY_COMMUNICATION As String = "Communication"

CATEGORY_DYNAMIC_METHOD_BINDING  protected

 

const CATEGORY_DYNAMIC_METHOD_BINDING: String = 'Dynamic Method Binding'

 

const String CATEGORY_DYNAMIC_METHOD_BINDING = "Dynamic Method Binding"

 

Const CATEGORY_DYNAMIC_METHOD_BINDING As String = "Dynamic Method Binding"

CATEGORY_OPTIONS  protected

 

const CATEGORY_OPTIONS: String = 'Options'

 

const String CATEGORY_OPTIONS = "Options"

 

Const CATEGORY_OPTIONS As String = "Options"

CATEGORY_STREAMING  protected

 

const CATEGORY_STREAMING: String = 'Streaming'

 

const String CATEGORY_STREAMING = "Streaming"

 

Const CATEGORY_STREAMING As String = "Streaming"

 

constructor  protected

Creates a new instance

 

constructor

 

BaseCommand()

 

Sub New()

constructor (IContainer)  protected

Creates a new instance

 

constructor(container: IContainer)

 

BaseCommand(IContainer container)

 

Sub New(container As IContainer)

Parameters:

  • container:

Execute (String): Int32

Executes the command with the given name and returns the number of affected rows.

 

method Execute(commandName: String): Int32

 

Int32 Execute(String commandName)

 

Function Execute(commandName As String) As Int32

Parameters:

  • commandName: Name of the command that is declared in the schema.

Execute (String, array of String, array of Object): Int32

Executes the command with the given name and input parameters and returns the number of affected rows.

 

method Execute(commandName: String; parameterNames: array of String; parameterValues: array of Object): Int32

 

Int32 Execute(String commandName, String[] parameterNames, Object[] parameterValues)

 

Function Execute(commandName As String, parameterNames As String(), parameterValues As Object()) As Int32

Parameters:

  • commandName: Name of the command that is declared in the schema.
  • parameterNames: Specified array with input parameter names
  • parameterValues: specified array with input parameter values.

Execute (String, array of String, array of Object, String, Object): Int32

Executes the command with the given name and input parameters and returns the number of affected rows and output parameters.

 

method Execute(commandName: String; parameterNames: array of String; parameterValues: array of Object; out outputNames: String; out outputValues: Object): Int32

 

Int32 Execute(String commandName, String[] parameterNames, Object[] parameterValues, out String outputNames, out Object outputValues)

 

Function Execute(commandName As String, parameterNames As String(), parameterValues As Object(), <OutAttribute> ByRef outputNames As String, <OutAttribute> ByRef outputValues As Object) As Int32

Parameters:

  • commandName: Name of the command that is declared in the schema.
  • parameterNames: Specified array with input parameter names
  • parameterValues: specified array with input parameter values.
  • outputNames: Specified array with output parameter names
  • outputValues: specified array with output parameter values.

Execute (String, array of DataParameter): Int32

Executes the command with the given name and input parameters and returns the number of affected rows.

 

method Execute(commandName: String; parameters: array of DataParameter): Int32

 

Int32 Execute(String commandName, DataParameter[] parameters)

 

Function Execute(commandName As String, parameters As DataParameter()) As Int32

Parameters:

  • commandName: Name of the command that is declared in the schema.
  • parameters: Specified array with input parameters.

Execute (String, array of DataParameter, DataParameter): Int32

Executes the command with the given name and input parameters and returns the number of affected rows and output parameters.

 

method Execute(commandName: String; parameters: array of DataParameter; out output: DataParameter): Int32

 

Int32 Execute(String commandName, DataParameter[] parameters, out DataParameter output)

 

Function Execute(commandName As String, parameters As DataParameter(), <OutAttribute> ByRef output As DataParameter) As Int32

Parameters:

  • commandName: Name of the command that is declared in the schema.
  • parameters: Specified array with input parameters.
  • output: Specified array with output parameters.

Execute (String, array of Object): Int32

Executes the command with the given input parameters and returns the number of affected rows.

 

method Execute(commandName: String; parameterValues: array of Object): Int32

 

Int32 Execute(String commandName, Object[] parameterValues)

 

Function Execute(commandName As String, parameterValues As Object()) As Int32

Parameters:

  • commandName: Name of the command that is declared in the schema.
  • parameterValues: specified array with input parameter values.