Table of Contents

Method Insert

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

Insert(List<T>, CancellationToken)

Inserts a list of entities into the database.

public virtual Task<List<PrimaryKeys<T>>> Insert(List<T> entities, CancellationToken cancellationToken = default)

Parameters

entities List<T>

The list of entities to insert.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<List<PrimaryKeys<T>>>

A list of primary keys of the inserted entities.