Aracılığıyla paylaş


IModelCacheKeyFactory.Create Yöntem

Tanım

Aşırı Yüklemeler

Create(DbContext)
Geçersiz.

Belirli bir bağlam için model önbellek anahtarını alır.

Create(DbContext, Boolean)

Belirli bir bağlam için model önbellek anahtarını alır.

Create(DbContext)

Dikkat

Use the overload with most parameters

Belirli bir bağlam için model önbellek anahtarını alır.

public object Create (Microsoft.EntityFrameworkCore.DbContext context);
[System.Obsolete("Use the overload with most parameters")]
public virtual object Create (Microsoft.EntityFrameworkCore.DbContext context);
abstract member Create : Microsoft.EntityFrameworkCore.DbContext -> obj
[<System.Obsolete("Use the overload with most parameters")>]
abstract member Create : Microsoft.EntityFrameworkCore.DbContext -> obj
override this.Create : Microsoft.EntityFrameworkCore.DbContext -> obj
Public Function Create (context As DbContext) As Object
Public Overridable Function Create (context As DbContext) As Object

Parametreler

context
DbContext

Model önbellek anahtarının alınacak bağlam.

Döndürülenler

Oluşturulan anahtar.

Öznitelikler

Şunlara uygulanır

Create(DbContext, Boolean)

Belirli bir bağlam için model önbellek anahtarını alır.

public virtual object Create (Microsoft.EntityFrameworkCore.DbContext context, bool designTime);
public object Create (Microsoft.EntityFrameworkCore.DbContext context, bool designTime);
abstract member Create : Microsoft.EntityFrameworkCore.DbContext * bool -> obj
override this.Create : Microsoft.EntityFrameworkCore.DbContext * bool -> obj
abstract member Create : Microsoft.EntityFrameworkCore.DbContext * bool -> obj
Public Overridable Function Create (context As DbContext, designTime As Boolean) As Object
Public Function Create (context As DbContext, designTime As Boolean) As Object

Parametreler

context
DbContext

Model önbellek anahtarının alınacak bağlam.

designTime
Boolean

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

Döndürülenler

Oluşturulan anahtar.

Şunlara uygulanır