RelationalEventId Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Event IDs for relational events that correspond to messages logged to an ILogger and events sent to a DiagnosticSource.
public static class RelationalEventId
type RelationalEventId = class
Public Class RelationalEventId
- Inheritance
-
RelationalEventId
Remarks
These IDs are also used with WarningsConfigurationBuilder to configure the behavior of warnings.
See Logging, events, and diagnostics for more information and examples.
Fields
AcquiringMigrationLock |
A migration lock is being acquired. |
AllIndexPropertiesNotToMappedToAnyTable |
An index specifies properties all of which are not mapped to a column in any table. |
AmbientTransactionEnlisted |
Entity Framework enlisted the connection in an ambient transaction. |
AmbientTransactionWarning |
An application may have expected an ambient transaction to be used when it was actually ignored. |
BatchExecutorFailedToReleaseSavepoint |
An error occurred while the batch executor was releasing a transaction savepoint. |
BatchExecutorFailedToRollbackToSavepoint |
An error occurred while the batch executor was rolling back the transaction to a savepoint, after an exception occurred. |
BatchReadyForExecution |
Update commands were batched and are now ready for execution MinBatchSize(Int32). |
BatchSmallerThanMinBatchSize |
Update commands were not batched because there were fewer than MinBatchSize(Int32). |
BoolWithDefaultWarning |
A bool property is configured with a store-generated default. |
ColumnOrderIgnoredWarning |
Column order was ignored. |
CommandCanceled |
A DbCommand has been canceled. |
CommandCreated |
A DbCommand has been created. |
CommandCreating |
A DbCommand is being created. |
CommandError |
An error occurred while a database command was executing. |
CommandExecuted |
A database command has been executed. |
CommandExecuting |
A database command is executing. |
CommandInitialized |
A DbCommand has been initialized with command text and other parameters. |
ConnectionClosed |
A database connection has been closed. |
ConnectionClosing |
A database connection is closing. |
ConnectionCreated |
A DbConnection has been created by EF. |
ConnectionCreating |
A DbConnection is about to be created by EF. |
ConnectionDisposed |
A database connection has been disposed. This event is only triggered when Entity Framework is responsible for disposing the connection. |
ConnectionDisposing |
A database connection is going to be disposed. This event is only triggered when Entity Framework is responsible for disposing the connection. |
ConnectionError |
A error occurred while opening or using a database connection. |
ConnectionOpened |
A database connection has been opened. |
ConnectionOpening |
A database connection is opening. |
CreatedTransactionSavepoint |
A database transaction savepoint has been created. |
CreatingTransactionSavepoint |
A database transaction savepoint is being created. |
DataReaderClosing |
A database data reader is about to be closed. |
DataReaderDisposing |
A database data reader has been disposed. |
DuplicateColumnOrders |
The configured column orders for a table contains duplicates. |
ExecuteDeleteFailed |
An error occurred while executing an 'ExecuteDelete' operation. |
ExecuteUpdateFailed |
An error occurred while executing an 'ExecuteUpdate' operation. |
ExplicitTransactionEnlisted |
The connection was explicitly enlisted in a transaction. |
ForeignKeyPropertiesMappedToUnrelatedTables |
A foreign key specifies properties which don't map to the related tables. |
ForeignKeyTpcPrincipalWarning |
A foreign key specifies properties which don't map to the related tables. |
IndexPropertiesBothMappedAndNotMappedToTable |
An index specifies properties some of which are mapped and some of which are not mapped to a column in a table. |
IndexPropertiesMappedToNonOverlappingTables |
An index specifies properties which map to columns on non-overlapping tables. |
KeyPropertiesNotMappedToTable |
A key specifies properties which don't map to a single table. |
MigrateUsingConnection |
Migrations is using a database connection. |
MigrationApplying |
A migration is being applied. |
MigrationAttributeMissingWarning |
A MigrationAttribute isn't specified on the class. |
MigrationGeneratingDownScript |
Migrations is generating a "down" script. |
MigrationGeneratingUpScript |
Migrations is generating an "up" script. |
MigrationReverting |
A migration is being reverted. |
MigrationsNotApplied |
Migrations weren't applied. |
MigrationsNotFound |
Migrations weren't found. |
MigrationsUserTransactionWarning |
A migration lock is being acquired. |
ModelValidationKeyDefaultValueWarning |
A single database default column value has been set on a key column. |
MultipleCollectionIncludeWarning |
A query is loading multiple related collections without configuring a QuerySplittingBehavior. |
NonQueryOperationFailed |
An error occurred while executing a non-query operation. |
NonTransactionalMigrationOperationWarning |
A migration contains a non-transactional operation. |
OptionalDependentWithAllNullPropertiesWarning |
The entity does not have any property with a non-default value to identify whether the entity exists. |
OptionalDependentWithoutIdentifyingPropertyWarning |
The entity does not have any property with a non-default value to identify whether the entity exists. |
PendingModelChangesWarning |
The model contains changes compared to the last migration. |
QueryClientEvaluationWarning |
Obsolete.
Part of a query is being evaluated on the client instead of on the database server. This event is in the DbLoggerCategory.Query category. |
QueryPossibleExceptionWithAggregateOperator |
A query is using a possibly throwing aggregate operation in a sub-query. This event is in the DbLoggerCategory.Query category. |
QueryPossibleExceptionWithAggregateOperatorWarning |
Obsolete.
A query is using a possibly throwing aggregate operation in a sub-query. This event is in the DbLoggerCategory.Query category. |
QueryPossibleUnintendedUseOfEqualsWarning |
A query is using equals comparisons in a possibly unintended way. |
ReleasedTransactionSavepoint |
A database transaction savepoint has been released. |
ReleasingTransactionSavepoint |
A database transaction savepoint is being released. |
RolledBackToTransactionSavepoint |
A database transaction has been rolled back to a savepoint. |
RollingBackToTransactionSavepoint |
A database transaction is being rolled back to a savepoint. |
StoredProcedureConcurrencyTokenNotMapped |
An entity type is mapped to the stored procedure with a concurrency token not mapped to any original value parameter. |
TpcStoreGeneratedIdentityWarning |
The PK is using store-generated values in TPC. |
TransactionCommitted |
A database transaction has been committed. |
TransactionCommitting |
A database transaction is being committed. |
TransactionDisposed |
A database transaction has been disposed. |
TransactionError |
An error has occurred while using. committing, or rolling back a database transaction. |
TransactionRolledBack |
A database transaction has been rolled back. |
TransactionRollingBack |
A database transaction is being rolled back. |
TransactionStarted |
A database transaction has been started. |
TransactionStarting |
A database transaction is starting. |
TransactionUsed |
Entity Framework started using an already existing database transaction. |
TriggerOnNonRootTphEntity |
Can't configure a trigger on the non-root entity type in a TPH hierarchy. |
UnexpectedTrailingResultSetWhenSaving |
An unexpected trailing result set was found when reading the results of a SaveChanges operation; this may indicate that a stored procedure returned a result set without being configured for it in the EF model. Check your stored procedure definitions. |
ValueConversionSqlLiteralWarning |
A SQL literal is being generated for a value that is using a value conversion. This event is in the DbLoggerCategory.Query category. |