Share via


SqliteEventId 类

定义

SQLite 事件的事件 ID,对应于记录到 ILogger 的消息和发送到 的事件 DiagnosticSource

public static class SqliteEventId
type SqliteEventId = class
Public Class SqliteEventId
继承
SqliteEventId

注解

这些 ID 还用于 WarningsConfigurationBuilder 配置警告的行为。

有关详细信息和示例,请参阅日志记录、事件和诊断和使用 EF Core 访问 SQLite 数据库

字段

ColumnFound

找到一列。

CompositeKeyWithValueGeneration

实体类型具有复合键,该键配置为使用生成的值。 SQLite 不支持在复合键上生成值。

ForeignKeyFound

发现了一个外键。

ForeignKeyPrincipalColumnMissingWarning

找不到由外键约束引用的列。

ForeignKeyReferencesMissingTableWarning

外键引用缺少的表。

FormatWarning

类型的值的格式无效。

IndexFound

找到索引。

InferringTypes

推断 CLR 类型。

MissingTableWarning

数据库缺少表。

OutOfRangeWarning

值在类型的范围内。

PrimaryKeyFound

找到主键。

SchemaConfiguredWarning

已为实体类型配置架构,但 SQLite 不支持架构。

SchemasNotSupportedWarning

SQLite 不支持架构。

SequenceConfiguredWarning

已为实体类型配置序列,但 SQLite 不支持序列。

TableFound

找到一张表。

TableRebuildPendingWarning

由于表的重新生成挂起,操作可能会失败。

UnexpectedConnectionTypeWarning

正在使用意外类型的连接。

UniqueConstraintFound

找到了唯一约束。

适用于