Method InsertList
InsertList(List<TList>, CancellationToken)
Inserts a list of model entities into the database.
public virtual Task<List<PrimaryKeys<T>>> InsertList(List<TList> entities, CancellationToken cancellationToken = default)
Parameters
entities
List<TList>The list of model entities to insert.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<List<PrimaryKeys<T>>>
The primary keys of the inserted entities.