Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CoreEventId.ContextInitialized Field

Definition

Namespace:
Microsoft.EntityFrameworkCore.Diagnostics
Assembly:
Microsoft.EntityFrameworkCore.dll
Package:
Microsoft.EntityFrameworkCore v10.0.0
Package:
Microsoft.EntityFrameworkCore v2.0.3
Package:
Microsoft.EntityFrameworkCore v2.1.11
Package:
Microsoft.EntityFrameworkCore v2.2.6
Package:
Microsoft.EntityFrameworkCore v3.0.0
Package:
Microsoft.EntityFrameworkCore v3.1.0
Package:
Microsoft.EntityFrameworkCore v5.0.0
Package:
Microsoft.EntityFrameworkCore v6.0.0
Package:
Microsoft.EntityFrameworkCore v7.0.0
Package:
Microsoft.EntityFrameworkCore v8.0.0
Package:
Microsoft.EntityFrameworkCore v9.0.0
Source:
CoreEventId.cs
Source:
CoreEventId.cs
Source:
CoreEventId.cs
Source:
CoreEventId.cs
Source:
CoreEventId.cs
Source:
CoreEventId.cs
Source:
CoreEventId.cs
Source:
CoreEventId.cs
Source:
CoreEventId.cs
Source:
CoreEventId.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

A DbContext was initialized.

public static readonly Microsoft.Extensions.Logging.EventId ContextInitialized;
 staticval mutable ContextInitialized : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly ContextInitialized As EventId 

Field Value

Remarks

This event is in the DbLoggerCategory.Infrastructure category.

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

Applies to


Feedback

Was this page helpful?