CoreEventId.EnsureCreatedWithTrackedEntitiesWarning 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
EnsureCreatedAsync(CancellationToken) 在已經追蹤新增、修改或刪除實體的上下文中被呼叫。 若因暫時性故障而重試,這些變更將失去。
此活動屬於該 DbLoggerCategory.Infrastructure 類別。
此事件在與 DiagnosticSource搭配 時會使用 payload 。EventData
public static readonly Microsoft.Extensions.Logging.EventId EnsureCreatedWithTrackedEntitiesWarning;
staticval mutable EnsureCreatedWithTrackedEntitiesWarning : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly EnsureCreatedWithTrackedEntitiesWarning As EventId