Aracılığıyla paylaş


IDbContextFactory<TContext>.Create(DbContextFactoryOptions) Yöntem

Tanım

Türetilmiş bağlamın yeni bir örneğini oluşturur.

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

Parametreler

options
DbContextFactoryOptions

Bir uygulamanın çalıştığı ortam hakkında bilgiler.

Döndürülenler

TContext

TContext öğesinin bir örneği.

Şunlara uygulanır