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