Method Insert
Insert(List<T>, CancellationToken)
Inserts the specified entities.
Task<List<PrimaryKeys<T>>> Insert(List<T> entities, CancellationToken cancellationToken = default)
Parameters
entities
List<T>The entities to insert.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<List<PrimaryKeys<T>>>
A task that represents the asynchronous operation. The task result contains a list of primary keys.