Table of Contents

Method InsertList

Namespace
Innova.Rest.Client
Assembly
Innova.Rest.Client.dll

InsertList(List<TList>, CancellationToken)

Inserts a list of entities.

public Task<List<PrimaryKeys<T>>> InsertList(List<TList> entities, CancellationToken cancellationToken = default)

Parameters

entities List<TList>

The list of entities to insert.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<List<PrimaryKeys<T>>>

A task that represents the asynchronous operation. The task result contains the list of primary keys of the inserted entities.