Table of Contents

Method Delete

Namespace
Innova.Data.Entity
Assembly
Innova.Data.dll

Delete<T, TShow>(IShowEntityService<T, TShow>, List<TShow>, CancellationToken)

Deletes the specified entities and their associated show data.

public static Task Delete<T, TShow>(this IShowEntityService<T, TShow> showEntityService, List<TShow> entities, CancellationToken cancellationToken = default) where T : class where TShow : class

Parameters

showEntityService IShowEntityService<T, TShow>

The show entity service.

entities List<TShow>

The list of entities to delete.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A task representing the asynchronous operation.

Type Parameters

T

The type of the entity.

TShow

The type of the show data.