語言

SqliteEventId 類別

定義

SQLite 事件的事件 ID,對應於登錄到 的 ILogger 訊息及發送到 DiagnosticSource.

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

備註

這些 ID 也 WarningsConfigurationBuilder 用於配置警告的行為。

更多資訊與範例請參見 「日誌、事件與診斷」以及 「使用 EF Core 存取 SQLite 資料庫 」。

欄位

名稱 Description
ColumnFound

發現了一根柱子。

CompositeKeyWithValueGeneration

實體類型有複合鍵,並設定為使用產生的值。 SQLite 不支援合成鍵的產生值。

ConflictingValueGenerationStrategiesWarning

SqliteValueGenerationStrategy 以及另一個價值生成配置都設定在某個物業上。 配置兩種策略通常是無意間,且很可能導致資料庫錯誤。

ForeignKeyFound

發現了一把外來鑰匙。

ForeignKeyPrincipalColumnMissingWarning

未找到由外鍵約束所參考的欄位。

ForeignKeyReferencesMissingTableWarning

外鍵會參考缺失的資料表。

FormatWarning

值的格式對該類型來說是無效的。

IndexFound

發現了一份索引。

InferringTypes

推斷CLR類型。

MissingTableWarning

資料庫缺少一個資料表。

OutOfRangeWarning

值值超出該類型的範圍。

PrimaryKeyFound

找到了一把主鑰匙。

SchemaConfiguredWarning

已設定一個實體型別的結構,但 SQLite 不支援結構。

SchemasNotSupportedWarning

SQLite 不支援結構。

SequenceConfiguredWarning

為實體類型設定了一個序列,但 SQLite 不支援序列。

TableFound

找到一張桌子。

TableRebuildPendingWarning

操作可能因資料表正在重建而失敗。

UnexpectedConnectionTypeWarning

使用了一種意想不到的連線。

UniqueConstraintFound

發現了一個獨特的限制。

適用於