Table of Contents

CreateAsync Method

Definition

Namespace
Savvyio.Extensions.EFCore
Assemblies
Savvyio.Extensions.EFCore.dll
Source
src/Savvyio.Extensions.EFCore/EfCoreDataStore.cs

CreateAsync(T, Action<AsyncOptions>)

Creates the specified dto asynchronous in the associated IEfCoreDataSource.

public virtual Task CreateAsync(T dto, Action<AsyncOptions> setup = null)

Parameters

dto T

The object to create in the associated IEfCoreDataSource.

setup Action<AsyncOptions>

The AsyncOptions which may be configured.

Returns

Task

A Task that represents the asynchronous operation.