Jagamisviis:


EntityFrameworkCoreHealthChecksBuilderExtensions Class

Definition

IHealthChecksBuilder extension methods for Entity Framework Core.

public ref class EntityFrameworkCoreHealthChecksBuilderExtensions abstract sealed
public static class EntityFrameworkCoreHealthChecksBuilderExtensions
type EntityFrameworkCoreHealthChecksBuilderExtensions = class
Public Module EntityFrameworkCoreHealthChecksBuilderExtensions
Inheritance
EntityFrameworkCoreHealthChecksBuilderExtensions

Methods

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

Adds a health check for the specified DbContext type.

Applies to