Method Insert
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
CancellationTokenThe cancellation token.
Returns
- Task<List<PrimaryKeys<T>>>
The primary keys of the inserted entities.