SqliteEventId Class

Definition

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

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

public static class SqliteEventId
type SqliteEventId = class
Public Class SqliteEventId
Inheritance
SqliteEventId

Fields

ColumnFound

A column was found. This event is in the DbLoggerCategory.Scaffolding category.

ForeignKeyFound

A foreign key was found. This event is in the DbLoggerCategory.Scaffolding category.

ForeignKeyPrincipalColumnMissingWarning

A column referenced by a foreign key constraint was not found. This event is in the DbLoggerCategory.Scaffolding category.

ForeignKeyReferencesMissingTableWarning

A foreign key references a missing table. This event is in the DbLoggerCategory.Scaffolding category.

IndexFound

An index was found. This event is in the DbLoggerCategory.Scaffolding category.

MissingTableWarning

The database is missing a table. This event is in the DbLoggerCategory.Scaffolding category.

PrimaryKeyFound

A primary key was found. This event is in the DbLoggerCategory.Scaffolding category.

SchemaConfiguredWarning

A schema was configured for an entity type, but SQLite does not support schemas.

This event is in the DbLoggerCategory.Model.Validation category.

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

SchemasNotSupportedWarning

SQLite does not support schemas. This event is in the DbLoggerCategory.Scaffolding category.

SequenceConfiguredWarning

A sequence was configured for an entity type, but SQLite does not support sequences.

This event is in the DbLoggerCategory.Model.Validation category.

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

TableFound

A table was found. This event is in the DbLoggerCategory.Scaffolding category.

TableRebuildPendingWarning

An operation may fail due to a pending rebuild of the table. This event is in the DbLoggerCategory.Migrations category.

UnexpectedConnectionTypeWarning

A connection of an unexpected type is being used.

This event is in the DbLoggerCategory.Infrastructure category.

This event uses the Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal.UnexpectedConnectionTypeEventData payload when used with a DiagnosticSource.

UniqueConstraintFound

A unique constraint was found. This event is in the DbLoggerCategory.Scaffolding category.

Applies to