Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

CommandExecutionToken<(Of <(<'TCommand, TParameter>)>)> Members

The CommandExecutionToken<(Of <(<'TCommand, TParameter>)>)> type exposes the following members.

Constructors


  Name Description
Public method CommandExecutionToken<(Of <(<'TCommand, TParameter>)>)>
Initializes a new instance of the CommandExecutionToken<(Of <(<'TCommand, TParameter>)>)> class.

Methods


  Name Description
Public method ApplyCommandOverrides
Applies the command overrides by calling OnBuildCommand, then firing the CommandBuilt event.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method Execute
Executes the specified implementation.
Public method ExecuteAsync
Executes the specified implementation asynchronously.
Public method ExecuteStream
Executes the specified implementation.
Public method ExecuteStreamAsync
Executes the specified implementation asynchronously.
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method PopulateCommand
Populates a DbCommand with the values in the execution token. Then calls OnBuildCommand/RaiseCommandBuilt for any custom behavior.
Public method RaiseCommandExecuted
Raises the command executed event.
(Inherited from ExecutionToken.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties


  Name Description
Public property CommandText
Gets the command text, which is usually SQL.
(Inherited from ExecutionToken.)
Public property CommandType
Gets the type of the command.
(Inherited from ExecutionToken.)
Public property DataSource
Gets the data source.
(Inherited from ExecutionToken.)
Public property HasCommandExecutedEvent
Gets a value indicating whether this instance has command executed event.
(Inherited from ExecutionToken.)
Public property HasOutputParameters
Returns True if any parameter is marked as Output or InputOutput
Public property OperationName
Gets the name of the operation being performed.
(Inherited from ExecutionToken.)
Public property Parameters
Gets the parameters.

Events


  Name Description
Public event CommandBuilt
Occurs when a command has been built.
(Inherited from ExecutionToken.)
Public event CommandExecuted
Occurs when a command has been built.
(Inherited from ExecutionToken.)