Interface ISyncDataCommand<TOperationContext, TResult>
Generic contract for synchronous data commands.
Inherited Members
Namespace: Kephas.Data.Commands
Assembly: Kephas.Data.dll
Syntax
public interface ISyncDataCommand<in TOperationContext, out TResult> : ISyncDataCommand where TOperationContext : IDataOperationContext where TResult : IDataCommandResult
Type Parameters
| Name | Description |
|---|---|
| TOperationContext | Type of the operation context. |
| TResult | Type of the result. |
Methods
| Improve this Doc View SourceExecute(TOperationContext)
Executes the data command.
Declaration
TResult Execute(TOperationContext operationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| TOperationContext | operationContext | The operation context. |
Returns
| Type | Description |
|---|---|
| TResult |