EntityFrameworkCoreHealthChecksBuilderExtensions 类

定义

IHealthChecksBuilder Entity Framework Core 的扩展方法。

public ref class EntityFrameworkCoreHealthChecksBuilderExtensions abstract sealed
public static class EntityFrameworkCoreHealthChecksBuilderExtensions
type EntityFrameworkCoreHealthChecksBuilderExtensions = class
Public Module EntityFrameworkCoreHealthChecksBuilderExtensions
继承
EntityFrameworkCoreHealthChecksBuilderExtensions

方法

AddDbContextCheck<TContext>(IHealthChecksBuilder, String, Nullable<HealthStatus>, IEnumerable<String>, Func<TContext,CancellationToken,Task<Boolean>>)

为指定DbContext类型添加运行状况检查。

适用于