Share via


PooledDbContextFactory<TContext>.CreateDbContext Method

Definition

Creates a new DbContext instance.

public virtual TContext CreateDbContext ();
abstract member CreateDbContext : unit -> 'Context
override this.CreateDbContext : unit -> 'Context
Public Overridable Function CreateDbContext () As TContext

Returns

TContext

A new context instance.

Implements

Applies to