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
ColumnFound
A column was found.
This event is in the DbLoggerCategory.Scaffolding category.
public static readonly EventId ColumnFound
Field Value
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
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
ForeignKeyFound
A foreign key was found.
This event is in the DbLoggerCategory.Scaffolding category.
public static readonly EventId ForeignKeyFound
Field Value
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
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
IndexFound
An index was found.
This event is in the DbLoggerCategory.Scaffolding category.
public static readonly EventId IndexFound
Field Value
MissingSchemaWarning
The database is missing a schema.
This event is in the DbLoggerCategory.Scaffolding category.
public static readonly EventId MissingSchemaWarning
Field Value
MissingTableWarning
The database is missing a table.
This event is in the DbLoggerCategory.Scaffolding category.
public static readonly EventId MissingTableWarning
Field Value
PrimaryKeyFound
A primary key was found.
This event is in the DbLoggerCategory.Scaffolding category.
public static readonly EventId PrimaryKeyFound
Field Value
SequenceFound
A sequence was found.
This event is in the DbLoggerCategory.Scaffolding category.
public static readonly EventId SequenceFound
Field Value
TableFound
A table was found.
This event is in the DbLoggerCategory.Scaffolding category.
public static readonly EventId TableFound
Field Value
UniqueConstraintFound
A unique constraint was found.
This event is in the DbLoggerCategory.Scaffolding category.
public static readonly EventId UniqueConstraintFound
Field Value
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
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