Table of Contents

Class DeleteCommand<T>

Namespace
Apizr.Mediation.Cruding
Assembly
Apizr.Integrations.MediatR.dll

The mediation Delete command

public class DeleteCommand<T> : DeleteCommandBase<T, IApizrRequestOptions, IApizrRequestOptionsBuilder>, IMediationCommand<int, Unit>, IRequest<Unit>, IBaseRequest

Type Parameters

T

The api entity type

Inheritance
DeleteCommand<T>
Implements
IRequest<Unit>
IBaseRequest
Inherited Members

Constructors

DeleteCommand(int, Action<IApizrRequestOptionsBuilder>)

The mediation Delete command constructor

public DeleteCommand(int key, Action<IApizrRequestOptionsBuilder> optionsBuilder = null)

Parameters

key int

The entity's crud key

optionsBuilder Action<IApizrRequestOptionsBuilder>

Options provided to the request