RelationalEventId Enum
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.
Values that are used as the eventId when logging messages from a relational database provider via ILogger.
public enum RelationalEventId
type RelationalEventId =
Public Enum RelationalEventId
- Inheritance
-
RelationalEventId
Fields
Name | Value | Description |
---|---|---|
ExecutedCommand | 1 | A command was executed against the database. |
CreatingDatabase | 2 | A database is being created. |
OpeningConnection | 3 | A connection is being opened. |
ClosingConnection | 4 | A connection is being closed. |
BeginningTransaction | 5 | A transaction is beginning. |
CommittingTransaction | 6 | A transaction is being committed. |
RollingbackTransaction | 7 | A transaction is being rolled back. |
QueryClientEvaluationWarning | 8 | A LINQ query is being executed where some of the query will be evaluated on the client (i.e. part of the query can not be translated to SQL). |
PossibleUnintendedUseOfEqualsWarning | 9 | Two entities were compared for equality in a LINQ query, which may not produce the desired result. |
AmbientTransactionWarning | 10 | An ambient transaction is present, which is not fully supported by Entity Framework Core. |
PossibleIncorrectResultsUsingLikeOperator | 11 | Linq translation of 'Contains', 'EndsWith' and 'StartsWith' functions may produce incorrect results when searched value contains wildcard characters. |
ApplyingMigration | 12 | A migration is being applied to the database. |
GeneratingMigrationDownScript | 13 | The revert script is being generated for a migration. |
GeneratingMigrationUpScript | 14 | The apply script is being generated for a migration. |
MigrateUsingConnection | 15 | Migrations are being applied on the database. |
RevertingMigration | 16 | A migration is being reverted. |
RevertingMigrationSql | 17 | The SQL for a migration being reverted. |
ApplyingMigrationSql | 18 | The SQL for a migration being applied. |
Applies to
Entity Framework