An asynchronous version of
Insert.
Namespace: LiteRepositoryAssembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntaxpublic 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:
TaskEA task representing the asynchronous operation.
See Also