CoreEventId.ContextInitialized Field

Definition

A DbContext was initialized.

C#
public static readonly Microsoft.Extensions.Logging.EventId ContextInitialized;

Field Value

Remarks

This event is in the DbLoggerCategory.Infrastructure category.

This event uses the ContextInitializedEventData payload when used with a DiagnosticSource.

Applies to

Product Versions
Entity Framework Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0