Search Results for

    Show / Hide Table of Contents

    Class NpgsqlEfEventId

    Event IDs for PostgreSQL/Npgsql events that correspond to messages logged to an and events sent to a .

    These IDs are also used with to configure the behavior of warnings.

    Inheritance
    object
    NpgsqlEfEventId
    Namespace: Microsoft.EntityFrameworkCore.Diagnostics
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public static class NpgsqlEfEventId

    Fields

    | Improve this Doc View Source

    CollationFound

    A collation was found.

    This event is in the category.

    Declaration
    public static readonly EventId CollationFound
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    ColumnFound

    A column was found.

    This event is in the category.

    Declaration
    public static readonly EventId ColumnFound
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    EnumColumnSkippedWarning

    Enum column cannot be scaffolded, define a CLR enum type and add the property manually.

    This event is in the category.

    Declaration
    public static readonly EventId EnumColumnSkippedWarning
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    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 category.

    Declaration
    public static readonly EventId ExpressionIndexSkippedWarning
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    ForeignKeyFound

    A foreign key was found.

    This event is in the category.

    Declaration
    public static readonly EventId ForeignKeyFound
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    ForeignKeyPrincipalColumnMissingWarning

    A principal column referenced by a foreign key was not found.

    This event is in the category.

    Declaration
    public static readonly EventId ForeignKeyPrincipalColumnMissingWarning
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    ForeignKeyReferencesMissingPrincipalTableWarning

    A foreign key references a missing table at the principal end.

    This event is in the category.

    Declaration
    public static readonly EventId ForeignKeyReferencesMissingPrincipalTableWarning
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    IndexFound

    An index was found.

    This event is in the category.

    Declaration
    public static readonly EventId IndexFound
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    MissingSchemaWarning

    The database is missing a schema.

    This event is in the category.

    Declaration
    public static readonly EventId MissingSchemaWarning
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    MissingTableWarning

    The database is missing a table.

    This event is in the category.

    Declaration
    public static readonly EventId MissingTableWarning
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    PrimaryKeyFound

    A primary key was found.

    This event is in the category.

    Declaration
    public static readonly EventId PrimaryKeyFound
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    SequenceFound

    A sequence was found.

    This event is in the category.

    Declaration
    public static readonly EventId SequenceFound
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    TableFound

    A table was found.

    This event is in the category.

    Declaration
    public static readonly EventId TableFound
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    UniqueConstraintFound

    A unique constraint was found.

    This event is in the category.

    Declaration
    public static readonly EventId UniqueConstraintFound
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    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 category.

    Declaration
    public static readonly EventId UnsupportedColumnConstraintSkippedWarning
    Field Value
    Type Description
    EventId
    | Improve this Doc View Source

    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 category.

    Declaration
    public static readonly EventId UnsupportedColumnIndexSkippedWarning
    Field Value
    Type Description
    EventId
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team