Interface ICommandBatchStep
Provides an interface for command batch steps.
Namespace: Paradigm.ORM.Data.Batching
Assembly: Paradigm.ORM.Data.dll
Syntax
public interface ICommandBatchStep : IDisposable
Remarks
A command batch step represents a single command inside the the batch, and a result callback that will be called after the whole batchs is executed.
Properties
| Improve this Doc View SourceBatchResultCallback
Gets the batch result callback.
Declaration
Action<IDatabaseReader> BatchResultCallback { get; }
Property Value
Type | Description |
---|---|
Action<IDatabaseReader> |
BatchResultCallbackAsync
Gets the asynchronous batch result callback.
Declaration
Func<IDatabaseReader, Task> BatchResultCallbackAsync { get; }
Property Value
Type | Description |
---|---|
Func<IDatabaseReader, Task> |
Command
Gets the command.
Declaration
IDatabaseCommand Command { get; }
Property Value
Type | Description |
---|---|
IDatabaseCommand |