Table of Contents

Method Delete

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

Delete(List<IPrimaryKey>, CancellationToken)

Deletes a list of entities from the database based on the provided primary keys.

public virtual Task Delete(List<IPrimaryKey> primaryKeys, CancellationToken cancellationToken = default)

Parameters

primaryKeys List<IPrimaryKey>

The list of primary keys of the entities to delete.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A task representing the asynchronous operation.