Table of Contents

Method Insert

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

Insert(List<TInsert>, CancellationToken)

Inserts a list of model entities into the database.

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

Parameters

entities List<TInsert>

The list of model entities to insert.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<List<PrimaryKeys<T>>>

The primary keys of the inserted entities.