Compartilhar via


IEntityCreateOperations<T,T1>.CreateAsync(T) Method

Definition

Asynchronously creates a new entity.

public System.Threading.Tasks.Task<T1> CreateAsync (T newEntity);
abstract member CreateAsync : 'T -> System.Threading.Tasks.Task<'T1>
Public Function CreateAsync (newEntity As T) As Task(Of T1)

Parameters

newEntity
T

The new entity information.

Returns

Task<T1>

The entity information that was just created.

Applies to