InMemoryEventId Class

Definition

Event IDs for in-memory events that correspond to messages logged to an ILogger and events sent to a DiagnosticSource.

C#
public static class InMemoryEventId
Inheritance
InMemoryEventId

Remarks

These IDs are also used with WarningsConfigurationBuilder to configure the behavior of warnings.

See Logging, events, and diagnostics, and The EF Core in-memory database provider for more information and examples.

Fields

ChangesSaved

Changes were saved to the database.

TransactionIgnoredWarning

A transaction operation was requested, but ignored because in-memory does not support transactions.

Applies to

Toode Versioonid
Entity Framework Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0