Table of Contents

Method Insert

Namespace
Innova.Prism.Library.Services
Assembly
Innova.Prism.Library.dll

Insert(TInsert, CancellationToken)

Inserts the specified entity.

public virtual Task<PrimaryKeys<T>> Insert(TInsert entity, CancellationToken cancellationToken = default)

Parameters

entity TInsert

The entity to insert.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<PrimaryKeys<T>>

The primary keys of the inserted entity.