Delen via


ModelCacheKey Constructors

Definition

Overloads

ModelCacheKey(DbContext)

Initializes a new instance of the ModelCacheKey class.

ModelCacheKey(DbContext, Boolean)

Initializes a new instance of the ModelCacheKey class.

ModelCacheKey(DbContext)

Source:
ModelCacheKey.cs
Source:
ModelCacheKey.cs
Source:
ModelCacheKey.cs
Source:
ModelCacheKey.cs
Source:
ModelCacheKey.cs
Source:
ModelCacheKey.cs
Source:
ModelCacheKey.cs
Source:
ModelCacheKey.cs
Source:
ModelCacheKey.cs

Initializes a new instance of the ModelCacheKey class.

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

Parameters

context
DbContext

The context instance that this key is for.

Applies to

ModelCacheKey(DbContext, Boolean)

Source:
ModelCacheKey.cs
Source:
ModelCacheKey.cs
Source:
ModelCacheKey.cs
Source:
ModelCacheKey.cs

Initializes a new instance of the ModelCacheKey class.

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)

Parameters

context
DbContext

The context instance that this key is for.

designTime
Boolean

Whether the model should contain design-time configuration.

Applies to