Search Results for

    Show / Hide Table of Contents

    Class MySQLEventId

    Event IDs for MySQL events that correspond to messages logged to an Microsoft.Extensions.Logging.ILogger and events sent to a System.Diagnostics.DiagnosticSource.

    These IDs are also used with Microsoft.EntityFrameworkCore.Diagnostics.WarningsConfigurationBuilder to configure the behavior of warnings.

    Inheritance
    System.Object
    MySQLEventId
    Namespace: MySql.EntityFrameworkCore.Diagnostics
    Assembly: MySql.EntityFrameworkCore.dll
    Version: 9.3.0
    Syntax
    public static class MySQLEventId

    Fields

    ByteIdentityColumnWarning

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

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

    This event uses the Microsoft.EntityFrameworkCore.Diagnostics.PropertyEventData payload when used with a System.Diagnostics.DiagnosticSource.

    Declaration
    public static readonly EventId ByteIdentityColumnWarning
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    ColumnFound

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

    Declaration
    public static readonly EventId ColumnFound
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    DecimalTypeDefaultWarning

    No explicit type for a decimal column.

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

    This event uses the Microsoft.EntityFrameworkCore.Diagnostics.PropertyEventData payload when used with a System.Diagnostics.DiagnosticSource.

    Declaration
    public static readonly EventId DecimalTypeDefaultWarning
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    DefaultSchemaFound

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

    Declaration
    public static readonly EventId DefaultSchemaFound
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    ForeignKeyFound

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

    Declaration
    public static readonly EventId ForeignKeyFound
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    ForeignKeyPrincipalColumnMissingWarning

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

    Declaration
    public static readonly EventId ForeignKeyPrincipalColumnMissingWarning
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    ForeignKeyReferencesMissingPrincipalTableWarning

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

    Declaration
    public static readonly EventId ForeignKeyReferencesMissingPrincipalTableWarning
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    IndexFound

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

    Declaration
    public static readonly EventId IndexFound
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    MissingSchemaWarning

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

    Declaration
    public static readonly EventId MissingSchemaWarning
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    MissingTableWarning

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

    Declaration
    public static readonly EventId MissingTableWarning
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    PrimaryKeyFound

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

    Declaration
    public static readonly EventId PrimaryKeyFound
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    ReflexiveConstraintIgnored

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

    Declaration
    public static readonly EventId ReflexiveConstraintIgnored
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    SequenceFound

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

    Declaration
    public static readonly EventId SequenceFound
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    TableFound

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

    Declaration
    public static readonly EventId TableFound
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    TypeAliasFound

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

    Declaration
    public static readonly EventId TypeAliasFound
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId

    UniqueConstraintFound

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

    Declaration
    public static readonly EventId UniqueConstraintFound
    Field Value
    Type Description
    Microsoft.Extensions.Logging.EventId
    In This Article
    • Fields
      • ByteIdentityColumnWarning
      • ColumnFound
      • DecimalTypeDefaultWarning
      • DefaultSchemaFound
      • ForeignKeyFound
      • ForeignKeyPrincipalColumnMissingWarning
      • ForeignKeyReferencesMissingPrincipalTableWarning
      • IndexFound
      • MissingSchemaWarning
      • MissingTableWarning
      • PrimaryKeyFound
      • ReflexiveConstraintIgnored
      • SequenceFound
      • TableFound
      • TypeAliasFound
      • UniqueConstraintFound
    Back to top Copyright © 2021, 2025, Oracle and/or its affiliates.