QueryContextDependencies.CurrentContext 属性

定义

用于存储值生成器实例的缓存。

public Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext CurrentContext { get; }
public Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext CurrentContext { get; init; }
member this.CurrentContext : Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext
member this.CurrentContext : Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext with get, set
Public ReadOnly Property CurrentContext As ICurrentDbContext
Public Property CurrentContext As ICurrentDbContext

属性值

适用于