Method Insert
Insert(TInsert, CancellationToken)
Inserts the specified entity.
Task<PrimaryKeys<T>> Insert(TInsert entity, CancellationToken cancellationToken = default)
Parameters
entityTInsertThe entity to be inserted.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task<PrimaryKeys<T>>
The primary keys of the inserted entity.