Class DeleteCommand<T, TKey>
The mediation Delete command
public class DeleteCommand<T, TKey> : DeleteCommandBase<T, TKey, Unit, IApizrRequestOptions, IApizrRequestOptionsBuilder>, IMediationCommand<TKey, Unit>, IRequest<Unit>, IBaseRequest
Type Parameters
TThe api entity type
TKeyThe entity's crud key type
- Inheritance
-
DeleteCommand<T, TKey>
- Implements
-
IMediationCommand<TKey, Unit>IRequest<Unit>IBaseRequest
- Inherited Members
Constructors
DeleteCommand(TKey, Action<IApizrRequestOptionsBuilder>)
The mediation Delete command constructor
public DeleteCommand(TKey key, Action<IApizrRequestOptionsBuilder> optionsBuilder = null)
Parameters
keyTKeyThe entity's crud key
optionsBuilderAction<IApizrRequestOptionsBuilder>Options provided to the request