Table of Contents

Method CreateDbContextAsync

Namespace
Innova.Data
Assembly
Innova.Data.dll

CreateDbContextAsync(CancellationToken)

Asynchronously creates a new instance of the database context.

Task<TContext> CreateDbContextAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task<TContext>

A task that represents the asynchronous operation. The task result contains the created database context.