Click or drag to resize
DbInsertAsyncE Method
An asynchronous version of Insert.

Namespace: LiteRepository
Assembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntax
C#
public virtual Task<E> InsertAsync<E>(
	E entity
)
where E : class

Parameters

entity
Type: E
Entity to insert into the database.

Type Parameters

E
Type of the entity.

Return Value

Type: TaskE
A task representing the asynchronous operation.
See Also