Non-Dataflow Workers
A non-dataflow (a.k.a. control flow) worker has no input or output ports.
Also see the dataflow workers:
Note
There is no fundamental difference between dataflow and non-dataflow workers; they can be mixed and matched as needed.
ActionWorker
Run an Action
or Func
callback, optionally creating child workers.
- Worker: ActionWorker
ActionWorkerBase
Run an Action
or Func
callback, optionally creating child workers. Must be inherited.
- Worker: ActionWorkerBase<TDerived>
AdbExecuteNonQueryWorker
Execute a query on an SQL database (e.g. INSERT, UPDATE, DELETE and DML statements) without
returning any result set. Can also generate provider-specific TRUNCATE, DROP, DELETE,
IF EXISTS table statements. RecordsAffected
is returned.
- Worker: AdbExecuteNonQueryWorker
AdbExecuteScalarWorker
Execute a query on an SQL database and return a single result value.
- Worker: AdbExecuteScalarWorker<TResult>
AdbTableNonQueryWorker
Execute a query on a table-like object in an SQL database: DELETE all rows (with RecordsAffected
),
IF EXISTS, DROP, or TRUNCATE.
- Worker: AdbTableNonQueryWorker
AdbTransactionActionWorker
Creates an AdbKeepOpenConnection and a local AdbTransaction, runs a user supplied callback inside the transaction, and commits/rolls back and disposes the transaction and connection.
- Worker: AdbTransactionActionWorker
CopyFileWorker
Copy a file.
- Worker: CopyFileWorker
CreateFileWorker
Create a file.
- Worker: CreateFileWorker
DeleteFileWorker
Delete a file.
- Worker: DeleteFileWorker
ExecuteProcessWorker
Launch an external process, e.g. an executable, a batch script, or a document.
- Worker: ExecuteProcessWorker
FileExistsWorker
Check if a file exists.
- Worker: FileExistsWorker
ForEachActionWorker
Execute an Action
or Func
callback once (optionally creating child workers) for each item
in an enumerable.
- Worker: ForEachActionWorker<TItem>
MoveFileWorker
Move a file.
- Worker: MoveFileWorker
UsingActionWorker
Mimics the using
statement in C#/VB to create an arbitrary disposable object,
run a callback with the disposable object, and automatically dispose the object.
- Worker: UsingActionWorker<TDisposable>
WhileActionWorker
Execute an Action
or Func
callback (optionally creating child workers) for each
iteration in a while-loop.
- Worker: WhileActionWorker<T>
Worker
Bare-bones worker with only the intrinsic functionality inherited from WorkerBase<TDerived> and WorkerBase, such as start constraints and grouping children.
- Worker: Worker
WorkerBase
and WorkerBase<TDerived>
WorkerBase
is a base class that all other workers inherit from indirectly, via
WorkerBase<TDerived>
.
Specify WorkerBase
when referring to workers without knowing the final derived
worker type. It has many useful members, such as the worker Name
, Parent
, etc.
WorkerBase<TDerived>
is a base class that all other workers inherit from directly
or indirectly. It contains members that use the type of the final derived worker
(TDerived
).
- Workers: WorkerBase, WorkerBase<TDerived>