Table of Contents

Class NpgsqlEfEventId

Namespace
Microsoft.EntityFrameworkCore.Diagnostics
Assembly
Npgsql.EntityFrameworkCore.PostgreSQL.dll

Event IDs for PostgreSQL/Npgsql 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 NpgsqlEfEventId
Inheritance
NpgsqlEfEventId
Inherited Members

Fields

CollationFound

A collation was found.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId CollationFound

Field Value

EventId

ColumnFound

A column was found.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId ColumnFound

Field Value

EventId

EnumColumnSkippedWarning

Enum column cannot be scaffolded, define a CLR enum type and add the property manually.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId EnumColumnSkippedWarning

Field Value

EventId

ExpressionIndexSkippedWarning

Expression index cannot be scaffolded, expression indices aren't supported and must be added via raw SQL in migrations.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId ExpressionIndexSkippedWarning

Field Value

EventId

ForeignKeyFound

A foreign key was found.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId ForeignKeyFound

Field Value

EventId

ForeignKeyPrincipalColumnMissingWarning

A principal column referenced by a foreign key was not found.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId ForeignKeyPrincipalColumnMissingWarning

Field Value

EventId

ForeignKeyReferencesMissingPrincipalTableWarning

A foreign key references a missing table at the principal end.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId ForeignKeyReferencesMissingPrincipalTableWarning

Field Value

EventId

IndexFound

An index was found.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId IndexFound

Field Value

EventId

MissingSchemaWarning

The database is missing a schema.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId MissingSchemaWarning

Field Value

EventId

MissingTableWarning

The database is missing a table.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId MissingTableWarning

Field Value

EventId

PrimaryKeyFound

A primary key was found.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId PrimaryKeyFound

Field Value

EventId

SequenceFound

A sequence was found.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId SequenceFound

Field Value

EventId

TableFound

A table was found.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId TableFound

Field Value

EventId

UniqueConstraintFound

A unique constraint was found.

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId UniqueConstraintFound

Field Value

EventId

UnsupportedColumnConstraintSkippedWarning

Constraint '{name}' on table {tableName} cannot be scaffolded because it includes a column that cannot be scaffolded (e.g. enum).

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId UnsupportedColumnConstraintSkippedWarning

Field Value

EventId

UnsupportedColumnIndexSkippedWarning

Index '{name}' on table {tableName} cannot be scaffolded because it includes a column that cannot be scaffolded (e.g. enum).

This event is in the DbLoggerCategory.Scaffolding category.

public static readonly EventId UnsupportedColumnIndexSkippedWarning

Field Value

EventId