IEntityCreateOperations<T,T1>.CreateAsync(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.