SqlServerEventId Class

Definition

Event IDs for SQL Server 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 SqlServerEventId
type SqlServerEventId = class
Public Class SqlServerEventId
Inheritance
SqlServerEventId

Fields

ByteIdentityColumnWarning

A byte property is set up to use a SQL Server identity column.

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

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

ColumnFound

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

ColumnNotNamedWarning
Obsolete.

A column is not named. This event is in the DbLoggerCategory.Scaffolding category.

ColumnSkipped
Obsolete.

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

ConflictingValueGenerationStrategiesWarning

There are conflicting value generation methods for a property.

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

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

DecimalTypeDefaultWarning

No explicit type for a decimal column.

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

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

DecimalTypeKeyWarning

Decimal column is part of the key.

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

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

DefaultSchemaFound

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

ForeignKeyColumnFound
Obsolete.

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

ForeignKeyColumnMissingWarning
Obsolete.

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

ForeignKeyColumnNotNamedWarning
Obsolete.

A foreign key column was not named. This event is in the DbLoggerCategory.Scaffolding category.

ForeignKeyColumnsNotMappedWarning
Obsolete.

Columns in a foreign key were not mapped. This event is in the DbLoggerCategory.Scaffolding category.

ForeignKeyFound

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

ForeignKeyNotNamedWarning
Obsolete.

A foreign key is not named. This event is in the DbLoggerCategory.Scaffolding category.

ForeignKeyPrincipalColumnMissingWarning

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

ForeignKeyReferencesMissingPrincipalTableWarning

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

ForeignKeyTableMissingWarning
Obsolete.

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

IndexColumnFound
Obsolete.

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

IndexColumnNotNamedWarning
Obsolete.

An index column was not named. This event is in the DbLoggerCategory.Scaffolding category.

IndexColumnSkipped
Obsolete.

A column of an index was skipped. This event is in the DbLoggerCategory.Scaffolding category.

IndexColumnsNotMappedWarning
Obsolete.

Columns in an index were not mapped. This event is in the DbLoggerCategory.Scaffolding category.

IndexFound

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

IndexNotNamedWarning
Obsolete.

An index is not named. This event is in the DbLoggerCategory.Scaffolding category.

IndexTableMissingWarning
Obsolete.

The table referenced by an index was not found. This event is in the DbLoggerCategory.Scaffolding category.

MissingSchemaWarning

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

MissingTableWarning

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

PrimaryKeyFound

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

ReflexiveConstraintIgnored

A reflexive foreign key constraint was skipped. This event is in the DbLoggerCategory.Scaffolding category.

SequenceFound

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

SequenceNotNamedWarning
Obsolete.

The database has an unnamed sequence. This event is in the DbLoggerCategory.Scaffolding category.

TableFound

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

TableSkipped
Obsolete.

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

TypeAliasFound

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

UniqueConstraintFound

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

Applies to