IDbContextFactory<TContext>.Create(DbContextFactoryOptions) Methode

Definition

Erstellt eine neue instance eines abgeleiteten Kontexts.

public TContext Create (Microsoft.EntityFrameworkCore.Infrastructure.DbContextFactoryOptions options);
abstract member Create : Microsoft.EntityFrameworkCore.Infrastructure.DbContextFactoryOptions -> 'Context
Public Function Create (options As DbContextFactoryOptions) As TContext

Parameter

options
DbContextFactoryOptions

Informationen zur Umgebung, in der eine Anwendung ausgeführt wird.

Gibt zurück

TContext

Eine Instanz von TContext.

Gilt für: