共用方式為


CompiledQueryCacheKeyGenerator 建構函式

定義

多載

CompiledQueryCacheKeyGenerator(CompiledQueryCacheKeyGeneratorDependencies)

初始化 CompiledQueryCacheKeyGenerator 類別的新執行個體。

CompiledQueryCacheKeyGenerator(IModel, ICurrentDbContext)

初始化 CompiledQueryCacheKeyGenerator 類別的新執行個體。

CompiledQueryCacheKeyGenerator(CompiledQueryCacheKeyGeneratorDependencies)

來源:
CompiledQueryCacheKeyGenerator.cs
來源:
CompiledQueryCacheKeyGenerator.cs
來源:
CompiledQueryCacheKeyGenerator.cs
來源:
CompiledQueryCacheKeyGenerator.cs
來源:
CompiledQueryCacheKeyGenerator.cs
來源:
CompiledQueryCacheKeyGenerator.cs
來源:
CompiledQueryCacheKeyGenerator.cs
來源:
CompiledQueryCacheKeyGenerator.cs
來源:
CompiledQueryCacheKeyGenerator.cs

初始化 CompiledQueryCacheKeyGenerator 類別的新執行個體。

public CompiledQueryCacheKeyGenerator (Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGeneratorDependencies dependencies);
new Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator : Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGeneratorDependencies -> Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator
Public Sub New (dependencies As CompiledQueryCacheKeyGeneratorDependencies)

參數

dependencies
CompiledQueryCacheKeyGeneratorDependencies

包含此服務相依性的參數物件。

適用於

CompiledQueryCacheKeyGenerator(IModel, ICurrentDbContext)

初始化 CompiledQueryCacheKeyGenerator 類別的新執行個體。

public CompiledQueryCacheKeyGenerator (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext currentContext);
new Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext -> Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator
Public Sub New (model As IModel, currentContext As ICurrentDbContext)

參數

model
IModel

將針對查詢撰寫的模型。

currentContext
Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext

將會執行查詢的內容。

適用於