Method InsertList
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
CancellationTokenThe 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.