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