ModelCacheKey Oluşturucular

Tanım

Aşırı Yüklemeler

ModelCacheKey(DbContext)

ModelCacheKey sınıfının yeni bir örneğini başlatır.

ModelCacheKey(DbContext, Boolean)

ModelCacheKey sınıfının yeni bir örneğini başlatır.

ModelCacheKey(DbContext)

ModelCacheKey sınıfının yeni bir örneğini başlatır.

public ModelCacheKey (Microsoft.EntityFrameworkCore.DbContext context);
new Microsoft.EntityFrameworkCore.Infrastructure.ModelCacheKey : Microsoft.EntityFrameworkCore.DbContext -> Microsoft.EntityFrameworkCore.Infrastructure.ModelCacheKey
Public Sub New (context As DbContext)

Parametreler

context
DbContext

Bu anahtarın için olduğu bağlam örneği.

Şunlara uygulanır

ModelCacheKey(DbContext, Boolean)

ModelCacheKey sınıfının yeni bir örneğini başlatır.

public ModelCacheKey (Microsoft.EntityFrameworkCore.DbContext context, bool designTime);
new Microsoft.EntityFrameworkCore.Infrastructure.ModelCacheKey : Microsoft.EntityFrameworkCore.DbContext * bool -> Microsoft.EntityFrameworkCore.Infrastructure.ModelCacheKey
Public Sub New (context As DbContext, designTime As Boolean)

Parametreler

context
DbContext

Bu anahtarın için olduğu bağlam örneği.

designTime
Boolean

Modelin tasarım zamanı yapılandırması içermesi gerekip gerekmediğini belirtir.

Şunlara uygulanır